A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Elasticsearch in Action
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 ??
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
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