Can you save a Java source file by name than class name ?
Answers
Answered by
3
yes, you can save your Java source code file with any other name ,not same as your mainclassname but when you compile it then byte code file name will be same as your main class name...and you have compile and run a class with different names other than the filename ,if you don't have any public methods in this class
Answered by
0
Answer:
od85s74su⚰️⚔️️⚔️⚔️️⚔️⚔️️
Similar questions