Given the code fragment:
Assume that the value of now is 6:30 in the morning.
What is the result?
Given the code fragment:
Which statement can be inserted into line n1 to print 1,2; 1,10; 2,20;?
Given the code fragment:
Stream
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?