Page 1 of 1

Re: About Question enthuware.ocpjp.v7.2.1583 :

Posted: Wed Sep 24, 2014 7:18 am
by maurezen
What jdk is this question based upon?

I have 1.7.0_60 and under it there is File[] listRoots() method in FileSystem (which is also referenced in File#listRoots). There is no FileSystem#getRootDirectories() method, and yet the answer variant using it is listed as correct.

In case it is relevant, I use question bank com.enthuware.ets.ocp-jp-ii.v7 version 1.76.

Re: About Question enthuware.ocpjp.v7.2.1583 :

Posted: Wed Sep 24, 2014 7:27 am
by admin

Re: About Question enthuware.ocpjp.v7.2.1583 :

Posted: Wed Sep 11, 2019 10:59 am
by henrid
Funny:
FileSystem.getRootDirectories() returns [ C:\, D:\, E:\ ]
File.listRoots() returns { C:\, D:\ }
(E:\ is my DVD drive)