+ 19
.class file && byte code
I want to know whether these two terms are exactly the same or is there any difference between the two
5 Answers
+ 22
NITHISH K thanks for the link
+ 19
Thanks Tarika for the detailed explanation.
+ 6
.class file consists of byte code, suppose we have a source file called 'MyClass.java' which consists of souce code and also called as java file, we will give this to compiler, if compiler compile it successfully then it is converted into MyClass.class file , .class file is not human readable as it consists of byte code ,then interpreter will interpret byte code line by line into a machine code ,and then this machine code is executed by microprocessor which will generate output.
+ 3
both means the same...
checkout the below link for description.....
https://www.thecrazyprogrammer.com/2014/06/what-is-class-file-and-bytecode-in-java.html
0
Hello