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
Win a copy of
Java SE 8 for the Really Impatient
this week in the
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 should there be only one public class per source file
Why does java not allow multiple public classes in a java file ?
more than one public class in a single file
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014