⟩ How many default constructors per class are possible? A. Only one B. Two C. Three D. Unlimited
Option A
Only one
Option A
Only one
Explain Exception handling for a class with an example?
Can you please Illustrate Rethrowing exceptions?
Explain benefits of Exception Handling?
What is Asynchronous Exceptions?
What is Synchronous Exceptions?
Describe exceptions in C++?
Which of the following statements are true about Catch handler? 1. It must be placed immediately after try block T 2. It can have multiple parameters 3. There must be only one catch handler for every try block 4. There can be multiple catch handler for a try block T 5. Generic catch handler can be placed anywhere after try block. a. Only 1, 4, 5 b. Only 1, 2, 3 c. Only 1, 4 d. Only 1, 2
In nested try blocks, there is no need to specify catch handler for inner try block. Outer catch handler is sufficient for the program. a. True b. False
Generic catch handler is represented by ______________. a. catch(..,) b. catch(---) c. catch(…) d. catch( void x)
Attempting to throw an exception that is not supported by a function call results in calling _____________ library function. a. indeterminate() b. unutilized() c. unexpected() d. unpredicted()