A

Admin • 828.03K Points
Coach

Q. Which of the following statements is correct?

  • (A) Public method is accessible to all other classes in the hierarchy
  • (B) Public method is accessible only to subclasses of its parent class
  • (C) Public method can only be called by object of its class.
  • (D) Public method can be accessed by calling object of the public class.
  • Correct Answer - Option(A)
  • Views: 11
  • 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.