Hello everybody:
I am using the Sierra/Bates Study Guide for
Java 5. On page 11 undier the heading "Source File Declaration Rules" they state teh following.
There can only be one public class per source code file What about inner classes - here is some very simple code that I wrote that weems to contradict what they said:
The code does compile and works and contains a member inner-class with the public access modifier. Am I missing something?
thx,
Tim