Question regarding property files
I am new to java and I wrote a class that creates a property file. But when i read it i also get a timestamp. Where does this timestamp come from? Here the code for reference import java.io.*; import java.util.*; public class WritePropertiesFile { public static void main(String[] args){ try{ Properties properties = new Properties(); properties.setProperty("username", "abcdef"); properties.setProperty("password", "012345"); File file = new File("c://........"); if(file.createNewFile()){ System.out.println("File is created!"); } else{ System.out.println("File already exists"); } FileOutputStream fileOut = new FileOutputStream(file); properties.store(fileOut, "User"); fileOut.close(); } catch(FileNotFoundException e){ e.printStackTrace(); } catch(IOException e){ e.printStackTrace(); } } } Output: #User #Thu Mar 09 14:06:25 CET 2017 password=012345 username=abcdef