Which of the following lambda expressions can fill in the blank? (Choose all that apply)
public static void main(){ List<String> list = new ArrayList<>(); list.removeIf(___________________); }
A, D, F.
removeIf() expects a Predicate interface.
A Predicate interface takes a parameter list of one parameter using the specified type.
B and C are incorrect since they do not use the return keyword.
The return is required inside braces for lambda bodies.
E is missing the parentheses around the parameter list.
The parentheses are optional for a single parameter with an inferred type.