Lets say that I have a file name config.yml and I am using the properties object to get properties. I want to file be edited by the notepad++ and the regular notepad and it will stay what the file already have in it.
Properties prop = new Properties();
prop.setProperty("test", "20");
prop.store(file, null);
System.out.println(prop.getProperty("test");
The output is 20 but I want it to change to whatever the file say it is. How can you edit the file in a program like notepad++ and get a different output like 30 for a example?