A

Admin • 802.91K Points
Coach

Q. Which method reference is valid for invoking an instance method on a particular object?

  • (A) ClassName::methodName
  • (B) objectName::methodName
  • (C) ClassName::new
  • (D) this::methodName

Explanation by: Admin
objectName::methodName is used for referring to an instance method of a specific object.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.