In this section, you will learn how to obtain the system properties. The System class provides a Properties object that describes the configuration of the current working environment of the system. System properties provides several information related to the system, user or version etc. The Enumeration class generates the series of elements.
System.getProperties()-This method determines the current system properties.
Here is the code of GetSystemProperties.java
Output will be displayed as:
Rs. 20,000 US$ 300
Today: Rs. 10,000 US$150
Course Duration: 30 hrs
Posted on: November 1, 2008 If you enjoyed this post then why not add us on Google+? Add us to your Circles