when there is a need of jvm then how we can say that java
is a platform independent language?

Answers were Sorted based on User's Feedback



when there is a need of jvm then how we can say that java is a platform independent language?..

Answer / vatsal doshi

JVM is actually a virtual machine, which operates at one level of abstraction above the actual platform.

Platform = OS + Underlying Hardware

Now, Java compiled code(byte code) is targetted to run on JVM, independent of underlying actual platform.

So, Java code written on windows can be directly run on linux/mac/solaris, without recompilation, provided JVM is installed in the target machine.

We have different implementations of JVM for different platforms. The advantage is that though JVM is platform dependent, but the compiled code now becomes platform independent.

Is This Answer Correct ?    17 Yes 0 No

when there is a need of jvm then how we can say that java is a platform independent language?..

Answer / bala

each OS has its own configuration for external resources
like connecting to a network accessing external memory, RMI
etc, so each OS has its own JVM to achieve this...

Is This Answer Correct ?    0 Yes 2 No

when there is a need of jvm then how we can say that java is a platform independent language?..

Answer / venkat

jvm is used to convert into an machinery language

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More Core Java Interview Questions

what release of java technology are currently available what do they contain?

1 Answers  


how your day start in your company

1 Answers  


Why java applets are more useful for intranets as compared to internet?

0 Answers  


Is 0 true or is 1 true?

0 Answers  


Tell us something about different types of casting?

0 Answers  






What was java originally called?

0 Answers  


Difference between overloading and overridding?

4 Answers  


if num=687; U have to get num=6+8+7;

4 Answers   CMC,


Give us a program to check for parenthesis matching using stack.

0 Answers   Genpact,


What is a ternary operator in java? What is an interface?

0 Answers  


Who developed JScript language?

3 Answers  


In what types of operations an ArithmeticException will be thrown?

3 Answers  


Categories