A

Admin • 832.27K Points
Coach

Q. What is the default visibility of class members in PHP if none is specified?

  • (A) public
  • (B) private
  • (C) protected
  • (D) static
  • Correct Answer - Option(A)
  • Views: 27
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin

Class members are public by default if no visibility keyword is used.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.