________ 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. System.out::println
You might also like to view...
________ numbers are used in place of binary numbers because binary numbers are difficult to read
Fill in the blank(s) with correct word
Consider classes A, B and C, where A is an abstract superclass, B is a concrete class that inherits from A and C is a concrete class that inherits from B. Class A declares abstract method originalMethod, implemented in class B. Which of the following statements is true of class C?
a. Method original Method cannot be overridden in class C—once it has been implemented in concrete class B, it is implicitly final. b. Method originalMethod must be overridden in class C, or a compilation error will occur. c. If method originalMethod is not overridden in class C but is called by an object of class C, an error occurs. d. None of the above.
Tiny charts embedded in a cell that give a visual trend summary alongside your data are:
a. embedded charts b. sparklines c. chart styles
Describe a scenario where you might use the Pmt function
What will be an ideal response?