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
Explain numeric promotion?
What is difference between protected and private?
Can subclass overriding method declare an exception if parent class method doesn't throw an exception?
what do you understand by the term string with respect to java?
What is the difference between Java1.4 and Java1.5
What does yield method of the thread class do?
What is the static block?
What is the do while loop syntax?
What is scanner in java?
Why string is called as immutable?
Why set do not allow duplicates in java?
Explain the overview of UDP messaging.
What is parameters example?
Make a data structure and implement an algorithm to print all the files in a directory. (The root directory can have sub-directories too.)
Why is stringbuffer thread safe?