M

Mr. Dubey • 100.69K Points
Coach

Q. Which method reference is used to create new objects via Supplier?

  • (A) ClassName::methodName
  • (B) ClassName::new
  • (C) ClassName.new()
  • (D) objectName::new
  • Correct Answer - Option(B)
  • Views: 9
  • Filed under category JAVA

Explanation by: Mr. Dubey
`ClassName::new` is a constructor reference used with Supplier.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics