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?

  1. System.vm.version
  2. System.getProperties("vm.version")
  3. System.getProperties("java.vm.version")
  4. 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.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.