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
Why is boolean important?
1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE?
Can we instantiate interface in java?
What is empty list in java?
What are class types in java?
What are the types of collections in java?
What is a priority queue java?
Explain the importance of finalize() method.
What is the use of isempty in java?
What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?
What is meant by anonymous class?
How many times finalize method will be invoked? Who invokes finalize() method in java?
Can we catch more than one exception in single catch block?
What is the difference between inner class and nested class?
Why java is used everywhere?