About Question enthuware.ocpjp.v7.2.1535 :

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
boyonsea
Posts: 16
Joined: Fri Sep 04, 2015 5:06 pm
Contact:

About Question enthuware.ocpjp.v7.2.1535 :

Post by boyonsea »

when I try this

BasicFileAttributeView bfav=Files.getFileAttributeView(p, BasicFileAttributeView.class);

and try to see bfav methods in eclipse (using a dot), I dont see the methods mentioned in the options

I see them for

BasicFileAttributes bfas=Files.readAttributes(p, BasicFileAttributes.class);

Please clarify.

Thanks

admin
Site Admin
Posts: 10068
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

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

Post by admin »

Not sure what you are looking at but the options given in the question are not method names. They are "attributes" supported by BasicFileAttributeView and you may check them out here: http://docs.oracle.com/javase/7/docs/ap ... eView.html

BTW, we do not recommend using an IDE for exam preparation. We recommend the command line.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 242 guests