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.
Read moreHow do I read properties file?
Test.java
Read moreHow do you read an object in Java?
How to Read an Object from File in Java
Read more