A

Admin • 833K Points
Coach

Q. What does the 'public' keyword in a class define?

  • (A) Visible to everyone
  • (B) Visible only within the class
  • (C) Visible only to inherited classes
  • (D) Not accessible at all
  • Correct Answer - Option(A)
  • Views: 28
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin

Public members are accessible from anywhere.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.