Tuesday, July 04, 2006

java#2

The class name should be the same as file name

So if your class name is CustomerOrder than the file name should be CustomerOrder.java. If not than you would get compile time error. Editors like eclipse/RAD flags this right away while you are coding.

No comments: