A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Programmer Certification (SCJP/OCPJP)
Joined: May 26, 2005
May 26, 2005 21:41:00
Why there should be only one public class per file and why the file name should be the same as that of the public class ??
I agree. Here's the link:
subject: public class
Why should there be only one public class per source file
Name of java file with public class
more than one public class in a single file
Why does java not allow multiple public classes in a java file ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014