how java is os independent language ?
Answers were Sorted based on User's Feedback
Answer / vivek ghavle
Java solves the problem of platform-independence by using
byte code. The Java compiler does not produce native
executable code for a particular machine like a C compiler
would. Instead it produces a special format called byte
code. Java byte code written in hexadecimal, byte by byte,
looks like this:
CA FE BA BE 00 03 00 2D 00 3E 08 00 3B 08 00 01 08 00 20 08
This looks a lot like machine language, but unlike machine
language Java byte code is exactly the same on every
platform.
Is This Answer Correct ? | 0 Yes | 0 No |
When is the best time to validate input?
Difference between sleep and suspend?
What is the purpose of the wait(), notify(), and notifyall() methods?
int x=5,i=1,y=0; while(i<=5) { y=x++ + ++x; i=i+2; } System.out.println(x); System.out.println(y); System.out.println(i); How to solve this? Please explain!
What are different types of controls in AWT?
What is codebase in applet?
What is bean? Where can it be used?
Explain about thread synchronization inside a monitor?
What is meant by Superconductivity?
What class is used to create Server side object ?
How many times may an objects finalize() method be invoked by the garbage collector?
Describe responsibilities of Activator?