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

What is the difference between the boolean & operator and the && operator?

600


What is a java singleton?

550


What's the difference between local, global and universal groups? : java security

576


Is lambda expression an object?

571


Is jdk a compiler?

528






Name primitive java types.

589


Which is best framework in java?

570


What is log4j in java?

559


What is the difference between lambdas and delegates?

540


What if I do not provide the string array as the argument to the method?

573


What kind of thread is the garbage collector thread?

579


What is java lang noclassdeffounderror?

559


What does persist mean in java?

596


Please can anybody explain what exactly "the project architecture" means???

1760


Why java?

607