A

Admin • 832.27K Points
Coach

Q. What is the correct syntax to call a method named "myMethod" from an object "myObject"?

  • (A) myObject.myMethod();
  • (B) myMethod.myObject();
  • (C) myMethod();
  • (D) myObject->myMethod();
  • Correct Answer - Option(A)
  • Views: 26
  • Filed under category Java
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.