InterviewSolution
Saved Bookmarks
| 1. |
How many methods are available for the exception class?(a) 5(b) 6(c) 7(d) 8This question was posed to me during an interview.My doubt is from Exception Handling in division Error Handling and Exception Handling in PHP of PHP |
|
Answer» RIGHT choice is (C) 7 The best EXPLANATION: The seven methods are: getCode(), getFile(), getLine(), GETMESSAGE(), getPrevious(), getTrace(), getTraceAsString(). |
|