File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Programmer Certification (SCJP/OCPJP)
why should the class name and the notepad name should be same?
Joined: Apr 13, 2006
Nov 22, 2006 04:20:00
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?
Joined: Dec 12, 2005
Nov 22, 2006 04:22:00
File name (system file) should match public class name.
I agree. Here's the link:
subject: why should the class name and the notepad name should be same?
Name of java file with public class
Why does java not allow multiple public classes in a java file ?
why public class should be stored in same filename as of class?
Class and Java file
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014