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
What is difference between wait and notify in java?
What is jrmp?
What are accessor methods in java?
Can we have multiple catch block for a try block?
Is final static java?
What are the changes in java.io in java 8 ?
What is the difference between int and integer in java?
Why string is called as immutable?
How can you say java is object oriented?
What is a numeric format?
Why stringbuilder is not thread safe?
what is session in java?
Difference between ‘is-a’ and ‘has-a’ relationship in java?
What is method with example?
Can we define package statement after import statement in java?