A

Admin • 828.43K Points
Coach

Q. Which interface does `Supplier<ClassName>` match with?

  • (A) ClassName::methodName
  • (B) ClassName::new
  • (C) new ClassName()
  • (D) ClassName.methodName()

Explanation by: Admin
Constructor reference `ClassName::new` matches Supplier.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.