What is JAVA? Why it is platform independent?
Answer Posted / rock
When Java Code is compiled a byte code is generated which
is independent of the system. This byte code is fed to the
JVM (Java Virtual Machine) which is resided in the system.
Since every system has its own JVM, it doesn't matter where
you compile the source code. The byte code generated by the
compiler can be interpreted by any JVM of any machine.
Hence it is called Platform independent Language.
this is ans as per mr.patel but we have to install jvm on
the m/c on which we want to run the java application.
if this is the case for java then how java is platform
independent.?
i am confuse .
if am wrong pleas let me know.thank u
| Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
How to compare two strings in java program?
What is data movement?
Why is multiple inheritance not supported in java?
How can constructor chaining be done using this keyword?
What is binary tree in java?
What is the differences between heap and stack memory in java? Explain
Where to store local variables?
Explain inheritance in java?
Give few difference between constructor and method?
What is the definition of tree ?
What are the problems faced by java programmers who don't use layout managers?
I want to control database connections in my program and want that only one thread should be able to make database connection at a time. How can I implement this logic?
What is difference between iterator and enumeration in java?
Can memory leak in java?
What is a methodologist?