________ is s method reference for a static method of a class. It creates a one-parameter lambda in which the lambda's argument is passed to the specified a static method and the lambda returns the method's result.
A) Math::sqrt
B) System.out::println
C) TreeMap::new
D) String::toUpperCase
Correct Answer:
Verified
Q22: Interface Stream (package java.util.stream) is a generic
Q23: Functional interface Comparator's default method _ reverses
Q24: Class Array's _ method is used to
Q25: _ is a method reference for an
Q26: _ is a method reference for an
Q28: Which of the following statements is true?
A)
Q29: _ is a constructor reference. It creates
Q30: Map method _ performs an operation on
Q31: Which of the following statements is false?
A)
Q32: 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