πŸ“Š PHP
Q. Which of the following exceptions is the base class for all exceptions in PHP?
  • (A) Error
  • (B) Throwable
  • (C) Exception
  • (D) RuntimeException
πŸ’¬ Discuss
βœ… Correct Answer: (C) Exception

Explanation: All exceptions extend the base Exception class, while Error is used for fatal errors. Both implement Throwable.

Explanation by: Rati Dubey
All exceptions extend the base Exception class, while Error is used for fatal errors. Both implement Throwable.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
28
Total Visits
πŸ“½οΈ
3 mo ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
81%
Success Rate