How java is platform independent?
Answer Posted / chandra sekhar dash
Java compiler compiles the source code into bytecodes. These
bytecodes are platform independant i.e. in other words
specific to the Java Virtual Machine specification. This
enables platform independant compilation.
When the bytecode compiled programs are executed through the
Java interpeter, it converts those bytecodes into native
machine code and executes them through the JVM which is
specific to host environment it is running on. This enables
platform specific execution.
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What mechanism does java use for memory management?
Explain about varargs in java?
What is meant by nested loop?
What is final variable?
When throw keyword is used?
What is entry in java?
What are the two ways in which thread can be created?
Difference between process and thread?
What is arraylist e?
Do we have pointers in java?
What does yield method of the thread class do?
What are the classes of java?
Can we clone singleton object in java?
Does substring create a new object?
Why call by value prevents parameter value change?