1Z0-809 Web TestEngine demo

Exit VCEDump 1Z0-809 Java SE 8 Programmer II
Question 2 of 32
0% complete
Q2 Single choice

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?

Sign in to mark questions

Sign in to save marked questions and return to this demo.

Sign in