Hi
A .java class must contain MAXIMUM one public class.
Try these and run each class with "java classname" you'll see the results.
NoPublic.java
TestNoPublic.java
You will have to adjust your package names, AND, the import statement in TestNoPublic to get a good instance of NoPublic.
Hope this helps.
------------------
SOURCE CODE should be
SURROUNDED by "code" tags.
Click here for an example [This message has been edited by John Bateman (edited September 06, 2001).]