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 difference between equal and == in java?
What is computer compiler?
What is boolean strategy?
Give few examples of final classes defined in Java API?
Is array a class in java?
Can I declare a class as private?
What is the purpose of declaring a variable as final?
How do you sing an Applet ?
What are the types of methodology?
Is null a string?
how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)
What is use of functional interface in java 8? Explain
Can we serialize singleton class?
Can you access the private method from outside the class?
Can we clone singleton class in java?