Sunday, April 25, 2010

System.getproperty()

From http://java.sun.com/j2se/1.4.2/docs/api/java/lang/System.html

System.getproperty() gets the system property specified by the key, also there is a System.getproperty(String key, String def) where default value can be specified. Helps while setting constants in JAVA program with some default values.