Q. Which PHP keyword is used to define a class?

  • (A) function
  • (B) object
  • (C) class
  • (D) define
πŸ’¬ Discuss
βœ… Correct Answer: (C) class
Explanation: class is the keyword used to define a new class in PHP.
Explanation by: Rati Dubey
class is the keyword used to define a new class in PHP.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
92
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
85%
Success Rate