Meaningless Drivel is fun!
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


Win a copy of Head First Android this week in the Android forum!
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.
 
Consider Paul's rocket mass heater.
 
subject: why should the class name and the notepad name should be same?
 
It's not a secret anymore!