How to read a configuration file using java.util.Properties?
When we have an application that used a text file to store a configuration and the configuration is typically in a "key"="value" format then we can use java.util.Properties to read that configuration file.
Here is the sample of app.config file:
app.name=Properties Sample Code
The code below show you how to read the configuration.