Originally Posted by
aussiemcgr
Clarifying to Zaphod's post above:...)
Thank you for the clarification. Well, more than clarification. Thank you for the corrections.
I'm kind of new to Java, and I "discovered" several things without reading entire books and reference manuals. I wanted to share my fresh learning experiences, and I'm sure the "rules" can be stated more precisely (and correctly).
I will say that if I create a file with more than one public class I get a
javac compiler error, and that's why I put that as part of items 1 and 2. I wasn't thinking of
inner public classes.
Maybe my list of "rules" should have been titled "Things to help you get started until you have had the time and the motivation and the stamina to read all 684 pages of Version 3 of the Java Language Specification."
Now, getting a head start on my Winter Sports Encyclopaedia (to be published Real Soon Now), I am starting a list of "Important Rules for Beginning Skiiers."
- Don't eat yellow snow.
Cheers!
Z