aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes why should the class name and the notepad name should be same? 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 "why should the class name and the notepad name should be same?" Watch "why should the class name and the notepad name should be same?" New topic
Author

why should the class name and the notepad name should be same?

NDP Prasad
Ranch Hand

Joined: Apr 13, 2006
Posts: 177
i want to know, why should the class name and the notepad name should be same?

What the jvm is doing with the x.class and the class name inside that?


SCJP,SCWCD<br />
hardikjava shah
Greenhorn

Joined: Dec 12, 2005
Posts: 13
File name (system file) should match public class name.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: why should the class name and the notepad name should be same?
 
Similar Threads
why public class should be stored in same filename as of class?
Class and Java file
Name of java file with public class
public class
Why does java not allow multiple public classes in a java file ?