πŸ“Š PHP
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
πŸ’¬ Discuss
βœ… Correct Answer: (A) Visible to everyone

Explanation: Public members are accessible from anywhere.

Explanation by: Mr. Dubey
Public members are accessible from anywhere.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
49
Total Visits
πŸ“½οΈ
6 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
99%
Success Rate