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

Answers were Sorted based on User's Feedback



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

Answer / chitra

JAVAC compiles the java file and converts the program in
bytecode(machine independent). Later JVM refers this and
converts the bytecodes in machine code.

Is This Answer Correct ?    43 Yes 11 No

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

Answer / srinivasa

Byte code is executed by JVM means converts the code into
machine understandable language.Machine code is the code
used by the operating system in the form of 0 and 1

Is This Answer Correct ?    19 Yes 2 No

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

Answer / 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

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

Answer / raman

byte code is machine indepent code that is executable at any
machine
machine code is macine dependent code that is understandable
by computer

Is This Answer Correct ?    8 Yes 4 No

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

Answer / arv

what do u mean by Byte code and Machine code?

Is This Answer Correct ?    4 Yes 2 No

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

Answer / lucky

Byte code:
----------
Byte code in java is .class file. when the java program is compiled we will get this .class file.This is machine dependent code.
Machine code:
-------------
Java interpreter converts the byte code into machine code which is understandable by the operating system's cpu.Machine code will be in the form of 0's and 1's.

Is This Answer Correct ?    1 Yes 2 No

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

Answer / bullbull

Thankz Chitra..
How its incependent?

Is This Answer Correct ?    0 Yes 8 No

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

Answer / ajith

any compailer can convert the byte(user understandable form)
to machine understandable code

Is This Answer Correct ?    4 Yes 13 No

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

Answer / narender_niit

bytecode is the code which is stored in a .class files
which is understandable by jvm ie java virtual
machine ..let me expalin more wen we write a code in
notepad it is converted into byte code which is stored
in .class files taht is executable by jvm to generate the
output..

machine code:machine code is a high level language this is
the code which is understandable by us.that is the output
of the code which is understadable by us..

Is This Answer Correct ?    16 Yes 38 No

Post New Answer

More Core Java Interview Questions

What are some alternatives to inheritance?

0 Answers  


How many techniques can be employed to create a string object?

0 Answers  


What is java string pool?

0 Answers  


What does exclamation mean in java?

0 Answers  


When we will use an Interface and Abstract class?

9 Answers  






placement papaers of spring computing technology

0 Answers   Spring Computing Technologies,


Do we have pointers in java?

0 Answers  


What is command line argument in java?

0 Answers  


how to minimize the functionality to will not force garbage collector?

2 Answers  


Why we do exception handling in java and how many types of exceptions are there?

0 Answers  


what is thread? : Java thread

0 Answers  


What is a 16 bit word?

0 Answers  


Categories