This is to ask about java.util.Properties;
As we use the same to deal with Properties files, I would like to know that, if I need to modify the value of some key, or delete the existing key value pairs, what measure do we need to take.
I tried and found that Properties.setProperty is helpful in setting the property in property file but Properties.remove removes temprorily and does not reflect the changes in actual properties file, i.e. file remains the same and key value pair does not removed from the file.
Please help and it would be great if anyone would provide the code snippet for the same.