________ is a method reference for an instance method that should be called on a specific object. It creates a one-parameter lambda that invokes the instance method on the specified object—passing the lambda’s argument to the instance method—and returns the method’s result.

a. Math::sqrt
b. System.out::println
c. TreeMap::new
d. String::toUpperCase

B

Computer Science & Information Technology

You might also like to view...

Sometimes the superclass data fields and methods are not entirely appropriate for the subclass objects; in these cases, you want to ____ the parent class members.

A. negate B. overrule C. override D. hide

Computer Science & Information Technology

If a picture is displayed in your album with the wrong orientation, you can rotate the image in 90-degree increments._________________________

Answer the following statement true (T) or false (F)

Computer Science & Information Technology