How java is platform independent?
Answer Posted / rinky sharma
when java code is compiled a bytecode is generated which is
independent of the system.This bytecode is fed to the JVM
(java virtual machine)which is resided in the system.Since
every system has its own JVM,it does'nt matter where u
compile the source code.The bytecode generated by the
compiler can be interpreted by any JVM of any machine.
Hence it is called platform-indepented language.
Is This Answer Correct ? | 62 Yes | 12 No |
Post New Answer View All Answers
What are multiple inheritances?
Why constructor has no return type?
What is the main difference between java platform and other platforms?
When should you use arraylist and when should you use linkedlist?
Can private class be extended java?
Why arraylist is used in java?
Why scanner is used in java?
What are "methods" and "fields"?
What is string length in java?
What is a instance variable?
A person says that he compiled a java class successfully without even having a main method in it? Is it possible?
What is the most important feature of java? What is an interface?
What is the difference between choice and list?
How many unicode characters are there?
who can i handle multiple client in RMI