The getProperty(String key) method in Java is used to returns the system property denoted by the specified key passed as its argument .It is a method of the java. lang. System Class. where key is the name of the System property.
The getProperty(String key) method in Java is used to returns the system property denoted by the specified key passed as its argument .It is a method of the java. lang. System Class. where key is the name of the System property.