________ is a method reference for an instance method of a class. It creates a one-parameter lambda that invokes the instance method on the lambda’s argument and returns the method’s result.

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


d. String::toUpperCase

Computer Science & Information Technology

You might also like to view...

A ____ brush will affect pixels outside of the circle that represents the Brush tool.

A. wide B. narrow C. hard D. soft

Computer Science & Information Technology

You cannot add new rows to the top of an existing table.

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

Computer Science & Information Technology

What is pseudocode and why is it well-suited for representing algorithms?

What will be an ideal response?

Computer Science & Information Technology

A __________ is available for use by any routine in the program, while a _______________ can be accessed only from the routine in which it is defined.

A. public attribute, class attribute B. private attribute, class attribute C. public attribute, private attribute D. class attribute, public attribute

Computer Science & Information Technology