0
i would use .java for running a program and ur saying we can use .class can we use both ?
i would use .java for running a program and ur saying we can use .class can we use both ?
1 Réponse
0
The .java file that you save the code that YOU WRITE is compiled by javac compiler, which creates the .class file containing Java byte code. You can't read the byte code with notepad. When you issue the Java command, the Java virtual machine runs the byte code in the .class file. Hope this helps!