adspace


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

Is minecraft 1.15 out?

1045


Realized?

2260


What is a constructor overloading in java?

1124


How to sort array in descending order in java?

994


What is java string pool?

1080


How to create a base64 decoder in java8?

1136


What do you mean by an interface in java?

1101


Write a program to print count of empty strings in java 8?

1085


What is an object in java and how is it created?

1139


What is the difference between equals() and == in java?

1038


What is the difference between break and continue statements?

1124


What are the differences between heap and stack memory in java?

1136


Differentiate between static and non-static methods in java.

1126


What is a classloader in java?

1087


Write a program to find the whether a number is an Armstrong number or not?

1096