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