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
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 |
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 |
Answer / venkat
jvm is used to convert into an machinery language
| Is This Answer Correct ? | 0 Yes | 4 No |
What is re-factoring in software?
What is the difference between this() and super() in java?
What about method local inner classes or local inner classes in java?
what questions are been asked ??? for interview in apti
What are the differences between Java 1.0 and Java 2.0?
what is main difference between architecture,framework and design pattren
How to compare two strings in java program?
Explain about anonymous inner classes in java?
Write a program to search a number in the given list of numbers.
Is array synchronized in java?
What are types of Java applications?
What is Collections API?