How to read the latest modified file from default users downloaded path using java?
public static void GetModifiedFile() {
String source = "C:/users" + system.getProperty(User.name) + "Downloads/the lastest modified file";
}
Could anyone please help me on this?