File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
Name of java file with public class
Why does java not allow multiple public classes in a java file ?
more than one public class in a single file
Why should there be only one public class per source file
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015