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 thread? What are the high-level thread states? : Java thread
What is string made of?
What is sorting in java?
Is list ordered in java?
Explain the difference between an object-oriented programming language and object-based programming language?
How do you use equal in java?
describe method overloading
What steps are taken when the OS shifts from one-thread execution to another?
Write a function for palindrome and factorial and explain?
What is singleton class and how can we make a class singleton?
Which is faster string or stringbuilder?
What about instanceof operator in java?
Is java map thread safe?
Explain the difference between arraylist and linkedlist in java?
Can we sort arraylist in java?