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 thread life cycle in java?
how to deploy apache tomcat server to weblogic server in java
How many types of constructors are used in java?
What is object cloning in Java?
What is the need of transient variables in Java ?
How do constructors use this() and super()?
If a variable is declared as private, where may the variable be accessed?
What is the concept of multithreading?
Which collection allows duplicate values in java?
What is wrapper class example?
Can we sort a map in java?
Explain what access modifiers can be used for variables?
What is the equal sign?
What is jrmp?
List any five features of java?