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
Can we access the non-final local variable, inside the local inner class?
Why collection doesn’t extend cloneable and serializable interfaces?
Explain the polymorphism principle?
Are functions objects in java?
What are different types of expressions?
Can a class be protected in java?
Tell me about different OOPS concepts.
Explain the difference between comparator and comparable in java?
What is a generic code?
What is indexof?
What is the difference between yielding and sleeping?
Convert a BST into a DLL and DLL to BST in place.
What are the classes of java?
What is default size of arraylist in java?
What is pojo class in java?