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
If an object reference is set to null, will the garbage collector immediately free the memory held by that object?
What is the common usage of serialization? What exceptions occur during serialization?
Is sizeof a preprocessor?
Why string is a class?
Difference between overriding and overloading in java?
How do you create immutable object in java?
Is java developer a good career?
What are the uses of java?
What is stringbuffer in java?
What restrictions are placed on method overloading in java programming?
What about interrupt() method of thread class ?
What is meant by structural programming?
Define packages in java?
What is class level lock ?
Is java same as core java?