About Question enthuware.ocpjp.i.v11.2.3149 :

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
makarovd89
Posts: 1
Joined: Sun Jul 12, 2020 8:40 am
Contact:

About Question enthuware.ocpjp.i.v11.2.3149 :

Post by makarovd89 »

Which of the following are valid?

(Assume the method bodies are valid.)

Note: The topic of generics is not mentioned in exam objectives. However, we have seen candidates getting questions that expect basic idea of generics. It is possible that such questions are unscored (i.e. your answer to these questions are not considered while computing your final score.)

public void BiFunction<Integer, String, Double> getBF(){ ...  }

Does this method have return 2 types?
Is it really valid?

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

Re: About Question enthuware.ocpjp.i.v11.2.3149 :

Post by admin »

No, void should be deleted. Fixed.
thank you for your feedback!
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 13 guests