Question discussion

Which of the following statement is true about JVM?

211324Medium 1 reply 3,754 views
25
Which of the following statement is true about JVM?
  • AJVM acts as run time engine to run Java applications.
  • BJVM creates the object of main class.
  • CJVM is platform independent.
  • DJVM does not call the main method present in a java code.
Answer not set

Discussion 1

0
CCommunity
JVM (Java Virtual Machine) is an abstract machine. It is a specification that provides runtime environment in which java bytecode can be executed. JVM does not create the object of main class. Java is platform independent but JVM is platform dependent. JVM is the one that actually calls the main method present in a java code.