You can declare that an interface is a functional interface by preceding it with the @FunctionalInterface annotation.The compiler will then ensure that the interface contains ________;otherwise,it'll generate a compilation error.
A) no abstract methods
B) all abstract methods
C) only one abstract method
D) one or more abstract methods.
Correct Answer:
Verified
Q21: Stream method _ eliminates duplicate objects in
Q23: Functional interface Comparator's default method _ reverses
Q33: Which statement in the following sequence of
Q36: Collectors static method groupingBy with one argument
Q39: Functional interface BiConsumer's accept method has two
Q45: Collectors static method groupingBy with two arguments
Q53: Which of the following statements is false?
A)
Q54: Map method _ performs an operation on
Q56: A nice performance feature of lazy evaluation
Q57: Which of the following statements is false?
A)
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents