What does the test( ) method of Predicate return?
A boolean.
Do you need to specify parameter type for a lambda expression?
No.
But if you do, you must put them in parenthesis. Ex: foo(newArrayList( ), (List a1) -> a1.isEmpty();
T/F: A lambda expression for a functional interface is essentially an implementation of the abstract method in the interface written in a very concise manner.
True.
What pieces of the method signature can the compiler figure out on its own for a lambda expression?
The parameter types, return keyword and brackets.
What is the basic syntax for a lambda expression?
(parameter list) OR single_variable_without_type -> { regular lines of code } OR just_an_expression_without_a_semicolon