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

How to write custom exception in java?

595


Difference between Preemptive scheduling vs. Time slicing?

566


How do you use substring in java?

542


What is class and object in java?

545


How do you check if a string is lexicographically in java?

496






Define how does a try statement determine which catch clause should be used to handle an exception?

578


What are the disadvantages of using inner classes?

549


How do you declare a variable?

621


Why are functions called methods in java?

523


What is the difference between serial and throughput garbage collector?

573


What are the benefits of immutable objects?

532


How do you check if a number is a perfect square?

510


Can we write any code after throw statement?

599


we have syntax like for(int var : arrayName) this syntax is to find whether a number is in the array or not.but i want to know how to find that number's location.

1566


When is the finalize() called?

694