adplus-dvertising
frame-decoration

Question

You can code a default exception handler by creating a catch block

a.

with no arguments

b.

with a void argument

c.

with an ellipsis as its argument

d.

with an argument identical to that thrown

Answer: (c).with an ellipsis as its argument

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. You can code a default exception handler by creating a catch block

Similar Questions

Discover Related MCQs

Q. A function that uses variable types is called __________

Q. A class D can be derived from a class C, which is derived from a class B, which is derived from a class A

Q. You can throw _____

Q. When a new class is derived from an existing class, the derived class member functions _____ have names that differ from base class function names

Q. If a class object is thrown with a throw statement, then a subsequent catch block has a usable match if the type of the catch argument is_________

Q. When you create a derived class and instantiate on object

Q. If an exception is thrown and no catch block matches the type of the thrown parameter, then _____

Q. A derived class _____ override attributes of a parent class

Q. A default exception block must be placed _____

Q. In a template function, _____ argument is generic, or parameterized

Q. The imprudent use of Goto statement leads to the

Q. A container class is a class whose instances are

Q. A common activity performed on a container is called

Q. Containers have the same types, that's why they are called

Q. Templates are abstract recipe for producing a concrete code, and it is used for

Q. A template function is a function that is produced by

Q. Vectors have the advantage of direct access that is also called as

Q. The same template is used to generate many different instances, this can be done by

Q. A stack is a simple data structure that simulates an ordinary stack of objects of

Q. An iterator is an object that has the ability to traverse