1.

What is the purpose of BooleanSupplier function interface?(a) represents supplier of Boolean-valued results(b) returns Boolean-valued result(c) There is no such function interface(d) returns null if Boolean is passed as argumentI got this question in an online quiz.My question comes from Java 8 Features in portion Autoboxing & Miscellaneous of Java

Answer» RIGHT CHOICE is (a) REPRESENTS supplier of Boolean-valued results

The best I can EXPLAIN: BooleanSupplier function interface represents supplier of Boolean-valued results.


Discussion

No Comment Found

Related InterviewSolutions