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

Variable names cannot contain ____.

A. numbers B. spaces C. underscore characters D. any of the above

Computer Science & Information Technology

Slides can only be printed in expanded view not in collapsed view

Indicate whether the statement is true or false

Computer Science & Information Technology

Which of the following is FALSE about changes in multitable queries?

A) Deleting a join line affects all relationships in all tables of the database. B) Join lines can be deleted in a query with no impact on the relationships. C) When you add two tables to a query, join lines appear automatically. D) The Relationship window displays join lines.

Computer Science & Information Technology

Which one of the following statements about a D-shell connector is FALSE?

A) The connector end is symmetrical (equal on all sides) so that it can be inserted upside down or right side up. B) It can be male or female. C) Some video ports use D-shell connectors. D) It has more pins or holes on top than on the bottom.

Computer Science & Information Technology