Reading and Writing Properties file Java import java.io.FileInputStream; import java.util.Iterator; import java.util.Map; import java.util.Properties; import java.util.Set; public class App { @SuppressWarnings("rawtypes") public static void main( String[] args ) { Properties prop = new Properties(); try { // Loading Property file // This method to load file in Simple Java Application. prop.load(new FileInputStream("messages.properties")); // This method to load file when developing web application //prop.load(this.getClass().getClassLoader().getResourceAsStream("messages.properties")); // Start :: //Writing Content to Property file prop.setProperty("ID121", "Angad Yadav"); prop.setProperty("ID122", "Mani