Here's another rule I didn't mention but that should be somewhere in that book you're reading. (You should read more carefully, thoroughly, or both.)
- In order for a Java file to compile to...
Type: Posts; User: GregBrannon
Here's another rule I didn't mention but that should be somewhere in that book you're reading. (You should read more carefully, thoroughly, or both.)
- In order for a Java file to compile to...
There can be only one top-level public class per .java file. You can split the two classes into separate .java files in the same package OR leave them as is but remove the 'public' from in front of...