A

Admin • 830.13K Points
Coach

Q. What is the method reference equivalent of `() -> ClassName.staticMethod()`?

  • (A) ClassName::instanceMethod
  • (B) ClassName::staticMethod
  • (C) new ClassName()::staticMethod
  • (D) this::staticMethod

Explanation by: Admin
Static methods are referenced by `ClassName::staticMethod`.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.