A

Admin • 832.27K Points
Coach

Q. What method reference would replace `() -> new Employee()`?

  • (A) Employee::getName
  • (B) Employee::new
  • (C) Employee::toString
  • (D) Employee::compareTo

Explanation by: Admin

`Employee::new` is the constructor reference replacing the no-arg lambda.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.