1.Can a lambda expression use a local variable? If so, what constraint must be met? 2. If a lambda expression throws a checked exception, the abstract method in the functional interface must have a...

1.Can a lambda expression use a local variable? If so, what constraint must be met? 2. If a lambda expression throws a checked exception, the abstract method in the functional interface must have a throws clause that includes that exception. True or False?3. What is a method reference? 4. Given a class called MyClass that contains a static method called myStaticMethod( ), show how to specify a method reference to myStaticMethod( ).

May 19, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here