• HOME
  • QUIZ
  • CONTACT US
EXAMIANS
  • COMPUTER
  • CURRENT AFFAIRS
  • ENGINEERING
    • Chemical Engineering
    • Civil Engineering
    • Computer Engineering
    • Electrical Engineering
    • Mechanical Engineering
  • ENGLISH GRAMMAR
  • GK
  • GUJARATI MCQ

PHP Exceptions and Error Handling

PHP Exceptions and Error Handling
How many methods are available for the exception class?

7
8
6
5

ANSWER DOWNLOAD EXAMIANS APP

PHP Exceptions and Error Handling
Which of the following statements invoke the exception class?

new throws Exception();
throws new Exception();
new Exception();
throw new Exception();

ANSWER DOWNLOAD EXAMIANS APP

PHP Exceptions and Error Handling
Which of the following is/are not an exception?
1. BadFunctionCallException
2. BadMethodCallException
3. LogicException
4. DomainException

None of the mentioned
Only 4
3 and 4
All of the mentioned

ANSWER DOWNLOAD EXAMIANS APP

PHP Exceptions and Error Handling
Which function is responsible for sending a custom message to the system log?

syslog()
systemlog()
log_system()
sys_log()

ANSWER DOWNLOAD EXAMIANS APP

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__________

final
private
protected
static

ANSWER DOWNLOAD EXAMIANS APP

PHP Exceptions and Error Handling
Which of the following is/are an exception?
1. OutOfBoundException
2. OutOfRangeException
3. OverflowException
4. UnderflowException

None of the mentioned
All of the mentioned
1 and 3
1 and 2

ANSWER DOWNLOAD EXAMIANS APP
MORE MCQ ON PHP Exceptions and Error Handling

DOWNLOAD APP

  • APPLE
    from app store
  • ANDROID
    from play store

SEARCH

LOGIN HERE


  • GOOGLE

FIND US

  • 1.70K
    FOLLOW US
  • EXAMIANSSTUDY FOR YOUR DREAMS.
  • SUPPORT :SUPPORT EMAIL ACCOUNT : examians@yahoo.com

OTHER WEBSITES

  • GUJARATI MCQ
  • ACCOUNTIANS

QUICK LINKS

  • HOME
  • QUIZ
  • PRIVACY POLICY
  • DISCLAIMER
  • TERMS & CONDITIONS
  • CONTACT US
↑