How java is platform independent?
Answer Posted / rajesh pradhan
Whenever we compile the java source code it becomes
transform into an intermediate code(known as "Byte
Code"),unlike other languages,"ByteCode"(.Class file) is
platform independent code.Then u can run the Byte Code on
any Platform(OS)either it is Linux,Mac or Windows..But d
reality is that the ByteCode(.class file)is run by the Java
Interpreter which in turn invokes the JVM(Java Virtual
Machine) which is differ for the different OS. And the
output of JVM is machine dependent code..[AND THE MOST
SECRET:--JAVA IS NOT PLATFORM INDEPENDENT IF THERE IS NOT
THE DIFFERENT JVM FOR DIFFRENT OS...AND PLUS WE NEED NOT TO
INSTALL JVM MANUALLY ..IT IS INBUILT IN ALL OS..]
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is prefix of a string?
Is empty list java?
Name few java util classes introduced with java 8 ?
Is node a data type in java?
What is java util?
What are the restrictions that are applied to the java static methods?
hr interview how many minutes asking question
How do you do math powers in java?
What is collection api?
What are pass by reference and pass by value?
What is meant by method?
What is an eror in java?
Does chrome use java?
Is it possible to override private or static method in java?
what is encapsulation in java? Explain