+ 1
Is Empty .java file name a valid source file name?
4 Réponses
+ 2
thats a good question... probably not, and it will be confusing for you if you leave it unnamed, and you wont know what it is later... you see what im saying?
+ 1
haha,,, good one,,,,I had to try it. it's actually not legal to leave a .java file name empty and any other file for that matter
+ 1
ohhh yeah thats right, it does say its not legal. :D now i know.
0
No, cz the class name has to be same as the filename.
Now, can you give Empty classname?