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's the default access specifier for variables and methods of a class?
Define inheritance with reference to java.
Does sprintf allocate memory?
explain copyonwritearraylist and when do we use copyonwritearraylist?
When parseint method can be used?
Why is java called java?
What is difference between an object and a class?
Why deletion in linkedlist is fast than arraylist?
What do you mean by ternary operator in java?
What is passing by reference in java?
Difference between current previous versions of Java?
take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).
How to change the priority of thread or how to set priority of thread?
Do I need java on my computer?
what is deadlock? : Java thread