Explain the methods for accessing system properties about the Java virtual machine
The system properties are accessed by the method System.getProperties(). This method returns a Properties object. By using the list() method of Properties, all the system properties can be viewed.
The following code snippet illustrates displaying the system properties. Properties props;
props = System.getProperties();
props.list(System.out);