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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between Java 1.0 and Java 2.0?

1923


What is thread synchronization in java?

672


What is a nested class?

842


Explain the term virtual machine?

815


Where pragma is used?

835


What does singleton mean in java?

740


Write down program for following scenario. Use java coding standard. You have array list with some words in it..we will call it as dictionary….and you have a arbitrary string containing some chars in it. You have to go through each word of dictionary and find out if that word can be constructed with the help of chars from arbitrary string given. If you find the word print it else print none.

2497


What is a 16 bit word?

777


What is the difference between heap memory and stack memory?

847


What is an example of procedure?

740


What does g mean in regex?

759


What is the size of boolean variable?

839


What is the use of using enum to declare a constant?

795


What are thread safe functions?

729


What are the basic interfaces of java collections framework?

849