________ 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...
What is the event that is generated when an MDI child is closed or activated?
a) MdiChildStatusChanged b) MdiChildActivate c) MdiChildModified d) MdiChildCA
Computer Science & Information Technology
Which of the following are C-string constants? Give the number of characters in each of these.
a. ‘\n’ b. ‘n’ c. “Lamb\n” d. “Mary” e. “M”
Computer Science & Information Technology