A

Admin • 831K Points
Coach

Q. Which functional interface is used with `Supplier<Employee> supplier = Employee::new;`?

  • (A) Supplier
  • (B) Function
  • (C) Consumer
  • (D) Predicate

Explanation by: Admin
Supplier represents a no-argument constructor reference.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.