Business Studies, asked by Manmeet1070, 1 year ago

Can you save a Java source file by name than class name ?

Answers

Answered by DolaBhanu
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 sonyk9334339495
0

Answer:

od85s74su⚰️⚔️️⚔️⚔️️⚔️⚔️️

Similar questions