Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Java
java class hierarchy
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Thomas, post: 2979137"] 1)Hello I noticed that java needs a separated file for each file. Isn't it too much ? I writing a simple project and have to use too many of them I suppose. Is there any way to reduce it, for example putting the code of several classes into one file ? 2) I have two interfaces : ============================================================== public interface Value { double evaluate () throws IllegalStateException; } ============================================================= public interface Arguments extends Value { int arity (); int missingArguments (); void addArguments (double) throws IllegalStateException; } ================================================================= I get identifier expected at the last line it the second class, Whats wrong ? [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Java
java class hierarchy
Top