read and write key/value data using .properties file
.properties is a file extension for files mainly used in Java to store the configurable parameters of an application. the parameters are in terms of key | value pair, means we can use the key in the code to get the value stored in the .properties file. This basically helps to avoid going to the code for any change needed…