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 the differences between include directive and include action?
Addition to previous section relative word 5th one was Putrid ans: rotten, also there was prob. in 1st section on bucket weight ans:10kg, also there was a prob. on train speed to find bridge length ans:800 mtrs.
What is int short for?
What's the difference between an abstract class and interface in java?
Can a class have multiple subclasses?
Difference between comparator and comparable in java?
What is size () in java?
Justify your answer that you can't define a method inside another method in java, if you can then how?
How does predicate work in java?
What is space character in java?
In how many ways we can do exception handling in java?
Write java program to reverse string without using api?
Can we declare main () method as non static?
What type of language is java?
What is arguments in java?