Question: why java file save as its class name
hi,this is subbareddy vajrala.my doubt is why java files save as its class names?
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.