+ 3
why PROGRAM is to be saved with the NAME of CLASS in JAVA
if its not saved with the name of class .....the the compliler says the class not found
4 odpowiedzi
+ 2
ty...
+ 1
u can save your file name with any name only when your class is no type that is if you remove public then you can save it by any name
+ 1
and if its wid public keyword then why is it compulsary to save wid class name
+ 1
it is compulsory because it tells jvm that it is the entry point