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

Why does java not support operator overloading?

897


What is an abstract class and what is it’s purpose?

719


List some important features of java 10 release?

724


Explain the hierarchy of java exception classes?

798


What happens if I remove static from main method?

760


Is int a class in java?

722


Why webdriver is an interface?

788


How to set the permissions to a file in java?

750


Explain about the security aspect of java?

768


Explain about interrupt() method of thread class ?

874


List some features of the abstract class.

786


Why should I use abstract class?

774


What is meant by local variable and instance variable?

819


Difference between keyword and identifier.

776


What is java algorithm?

708