How java is platform independent?
Answer Posted / bipin kumar behera
1.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 format called byte
code. Java byte code written in hexadecimal.
2.This format is same in every operatingf system like Solaris workstation,linux.After comilation the interpreter reads the
the byte code and translate according to the host machine.
3.Byte code is interprted in JVM.which avalibale in all operating systems.that we install.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain abstract class in java?
Are registers volatile?
What is a top level class in java?
What is the purpose of final keyword and when to use it?
What are the two parts of a conditional statement?
Convert Binary tree to linked list.
What is the purpose of assert keyword used in jdk1.4.x?
What is the purpose of return statement?
What is java lang object?
Why array is used in java?
What is entry in java?
What about main thread in java?
What happens if I remove static from main method?
What are the topics in core java?
What is a java object and java application?