This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes public class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "public class" Watch "public class" New topic
Author

public class

Bharat Varathan
Greenhorn

Joined: May 26, 2005
Posts: 1
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 ??
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: public class