Errata in flash study
cards of OCP Programmer II
In the flash
cards provided in Willey Efficient Learning for the book "OCP, Oracle Certified Professional
Java SE 11 Programmer II Study Guide Exam 1Z0-816 and 1Z0-817" this happened in the Question Bank provided in
http://app.efficientlearning.com/pv5/v8/5/app/ocp/javase11prgiisg.html?#flashcardBuilder there is an error in the answer of one flash card study card.
The question made in the study card is:
Which functional interface takes zero parameters and has a get() method?
The given answer was Consumer<T>.
This answer is not right:
Correct answer should be: Supplier<T>instead of Consumer<T>