Steps to Read/write Property File in java

Create a Java project and create a “” file under the root folder (project) not under src. Project structure: Reading Property File: Create a class file “PropertyFileRead” and paste the below code, package; import; import; import; import java.util.Properties; public class PropertyFileRead { public static void main(String[] args) { Properties propFile = new Properties(); try { […]

 1,016 total views,  2 views today

» Read more