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 hashmap increases its size in java?
What are the different tags provided in jstl?
Which are the two subclasses under exception class?
Write a program in java to find the maximum and minimum value node from a circular linked list.
What is the output of the below java program?
What is the public field modifier?
What is the difference between length and length() method in java?
Can we use catch statement for checked exceptions?
What is the method in java?
What is object-oriented programming?
What is scope & storage allocation of static, local and register variables? Explain with an example.
Explain JMS in detail.
Can you explain the meaning of aggregation and composition
What is java argument list?
How do you declare a variable?