how to load property file in java

In this post, we will learn how to load property file in java. Properties file is used to store and retrieve values from file. It is stored as key and value pair. Below is an sample property file database.properties Read properties from absolute path Output Read properties from class path Please make sure you have … Continue reading how to load property file in java