is JVM platform dependent or independent..?

Answer Posted / bapu

x.java file compiled by compiler.but .class file contains
source code equivalent to byte code.
But the microprocessor cannot understand byte code
instructions,neither can it execute them.Jvm can convert
byte code into machine code.JVM is not a machine-it is a
program.
jvm is system dependent.

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what access modifiers can be used for methods?

572


Difference between overriding and overloading in java?

579


What is keyword auto for?

641


What is lastindexof in java?

550


What is queue in java?

554






What is the purpose of static methods and variables?

533


Why put method is idempotent?

466


What will happen if a thrown exception is not handled?

563


What is a module function?

557


Can we sort hashset in java?

631


Should a main method be compulsorily declared in all java classes?

534


Describe what a thread-local variable is in java?

571


What is oops in java?

567


What is functional interface in java?

515


What is void in java?

593