
hi,this is subbareddy vajrala.my doubt is why java files save as its class names?

Hi,
I java source code file is save with the extenstion of .java
When you compile the file with java compiler it will creates the byte code from the source code and it is saved as .class file.
See the tutorial Java Compiler,Java Compiler Example.
Thanks
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
