A

Admin • 828.03K Points
Coach

Q. Which is the correct way to reference an instance method on an arbitrary object?

  • (A) object::method
  • (B) ClassName::method
  • (C) ClassName::new
  • (D) this::method

Explanation by: Admin
For arbitrary objects, use `ClassName::method`.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.