PHP Exceptions and Error Handling You can extend the exception base class, but you cannot override any of the preceding methods because the are declared as__________ protected private static final protected private static final ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which of the following statements invoke the exception class? throw new Exception(); new Exception(); throws new Exception(); new throws Exception(); throw new Exception(); new Exception(); throws new Exception(); new throws Exception(); ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which version of PHP introduced E_STRICT Error level? PHP 4 PHP 5 PHP 5.2 PHP 5.3 PHP 4 PHP 5 PHP 5.2 PHP 5.3 ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which one of the following is the right description for the method getMessage() ? Returns the message if it is passed to the file Returns the message if it is passed to the object Returns the message if it is passed to the class Returns the message if it is passed to the constructor Returns the message if it is passed to the file Returns the message if it is passed to the object Returns the message if it is passed to the class Returns the message if it is passed to the constructor ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling What is the description of Error level E_ERROR? Fatal Compile-time error Fatal run-time error Near-fatal error Compile-time error Fatal Compile-time error Fatal run-time error Near-fatal error Compile-time error ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which of the following is/are not an exception?1. BadFunctionCallException2. BadMethodCallException3. LogicException4. DomainException 3 and 4 All of the mentioned Only 4 None of the mentioned 3 and 4 All of the mentioned Only 4 None of the mentioned ANSWER DOWNLOAD EXAMIANS APP