A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
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-2015