About Question enthuware.ocpjp.v8.3.1470 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
webber
Posts: 18
Joined: Mon Apr 01, 2013 8:38 am
Contact:

About Question enthuware.ocpjp.v8.3.1470 :

Post by webber »

I think the good answer should be:

It is an abstract class that has only one abstract method ...

and not

It is an interface that has only one method ...

As it is written in explanation:"This interface has exactly one abstract method named test"

And in official documentation (http://docs.oracle.com/javase/8/docs/ap ... icate.html) java.util.function.Predicate has more than one method (and, isEqual, negate, or)

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

Re: About Question enthuware.ocpjp.v8.3.1470 :

Post by admin »

You are partially right. It does have more than one method (although only one abstract method). However, it is an interface not an abstract class.
Fixed.
thank you for your feedback!
Paul.
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 18 guests