File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "public class" Watch "public class" New topic

public class

Bharat Varathan

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 ??
I agree. Here's the link:
subject: public class
It's not a secret anymore!