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
How can you read an integer value from the keyword when the application is runtime in java? example?
Is map sorted in java?
Write code to implement bubble sort in java?
What is a void method java?
What is an accessor?
What is getkey () in java?
Can we declare a class as abstract without having any abstract method?
What does jenkins do?
Is string a class?
How many bits is a float?
What is the range of the short type?
What does localhost mean?
what is recursion in java
What are classloaders?
How to disable caching on back button of the browser?