Home »
MCQs »
Java MCQs
Which Java method is used to get the version of running java VM?
94. Which Java method is used to get the version of running java VM?
- System.vm.version
- System.getProperties("vm.version")
- System.getProperties("java.vm.version")
- System.getVmVersion
Answer: C) System.getProperties("java.vm.version")
Explanation:
The Java method System.getProperties("java.vm.version") is used to get the versions of the running Java VM.