Given the code fragment:
Stream<Path> files = Files.list(Paths.get(System.getProperty("user.home"))); files.forEach (fName -> { //line n1 try {
Path aPath = fName.toAbsolutePath(); //line n2
System.out.println(fName + ":"
+ Files.readAttributes(aPath, Basic.File.Attributes.class).creationTime
());
} catch (IOException ex) {
ex.printStackTrace();
});
What is the result?
steefaand
2 months, 2 weeks agopetetsai
2 years, 3 months agoWilsonKKerll
2 years, 1 month agoHuim
2 years, 11 months agoSvetleto13
2 years, 10 months agojduarte
3 years, 2 months ago