Though most of the time we create and modify Properties file using text editors like notepad, word-pad or edit-plus, It’s also possible to create and edit
properties file from Java program. Log4j.properties, which is
used to configure Log4J based logging
in Java and jdbc.properties which is used to specify configuration
parameters for database
connectivity using JDBC are two most common example of property file in
Java. Though I have not found any real situation where I need to create
properties file using Java Program but it’s always good to know about
facilities available in Java API.
This post first appeared on Javarevisited: Blog About Java Programmin, please read the originial post: here