________ 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...

Programmers often refer to a ____ search as a "divide and conquer" procedure.

A. bubble B. binary C. division D. split

Computer Science & Information Technology

You want to shift eight statements from a scene method to a shot method. The easiest way to do this is to drag a(n) ____ into the original scene method and then drag the eight statements we want to cut from the original scene method into that ____.

A. moveScene block B. moveAndOrientTo block C. doScene block D. doInOrder block

Computer Science & Information Technology