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 is synchronization and why is it important? : Java thread
What is main function purpose?
How do you sort words in java?
Is array a class?
When we should use serialization?
describe synchronization in respect to multithreading? : Java thread
What are the different tags provided in jstl?
What is substring in java?
What are synchronized blocks in java?
Is string a class?
What are unchecked exceptions in java?
What is the difference between length and length() method in java?
Explain the selection sort algorithm and state its time complexity?
What is the formula to calculate percentage?
What is the purpose of a transient variable?