Why Java is a platform independent language?Explain byte code
and JVM

Answer Posted / kabita

due to byte code and jvm java is platformindependent
language.as we know after compiling sourcecode it gives
java byte code.only jvm can execute bytecode and every os
(operating system) having their own jvm.so it is a
platformindependent language.jvm stands 4 java virtual
machine which executes the bytecode.bytecodes are the
intermediate language for jvm.

Is This Answer Correct ?    47 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is best framework in java?

653


Is lambda expression an object?

657


What is the use of entity class in java?

656


How do I install java re?

651


What is the meaning of the words public, static and void?

625


What is an interceptor in java?

622


In java thread programming, which method is a must implementation for all threads?

721


Can optional be null?

697


What is data persistence in java?

776


What if the main method is declared as private?

613


In system.out.println(), what is system, out and println?

780


What is the difference between a while statement and a do statement?

676


Write a program using call by refernce for two different classes to explain to print whether a given number is automorphic or not.

1565


What is flatmap java?

688


How do I know if I have jre or jdk?

676