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
Explain method overloading?
What will happen if a thrown exception is not handled?
Explain, java is compatible with all servers but not all browsers?
What is a map in java?
Why is a constant variable important?
Can we restart a thread already started in java?
Can we override private constructor in java?
What are runtime exceptions?
What is wrapper class html?
How do you convert boolean to boolean?
Are generics important java?
Can we have multiple public classes in a java source file?
What is the range of the short type?
How to print an arraylist in java?
Explain oops concepts in detail?