what is bytecode? watz the difference between machine code
and bytecode?

Answer Posted / aman mittal

In JAVA, when source code(.txt file ) is compiled it turns
into byte code(.class file), actually this byte code is
something assembly instructions in JVM assembly and this
byte code is platform independent(as we can run our .class
code on any o/s, using specified JRE for that o/s.).
A byte code compiled by a compiler can run on any o/s like
windows, linux, unix, mac etc...
Machine code refers to a data that can be executed by a
specific computer having particular processor & o/s.(JRE
execute this data on specific o/s.)
JRE is provide by different o/s vendors.


Aman Mittal
09457267173

Is This Answer Correct ?    10 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by append?

530


What is a blocking method in Java?

601


Is singleton a bad practice?

575


How do you achieve singleton?

529


What is reflexive association?

1004






Can a class declared as private be accessed outside it’s package?

510


Can an interface implement another interface?

571


Can a class have multiple constructors?

531


How do you add an arraylist to an array in java?

507


How do you convert an int to a double in java?

594


Write code of any action class?

544


Under what conditions is an object’s finalize() method invoked by the garbage collector?

573


Who is founder of java?

526


What is json parser in java?

613


How to perform linear search in java?

566