adplus-dvertising
frame-decoration

Question

To catch the exceptions ___________________

a.

An object must be created to catch the exception

b.

A variable should be created to catch the exception

c.

An array should be created to catch all the exceptions

d.

A string have to be created to store the exception

Answer: (a).An object must be created to catch the exception

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. To catch the exceptions ___________________

Similar Questions

Discover Related MCQs

Q. Multiple catch blocks __________________

Q. Which symbol should be used to separate the type of exception handler classes in a single catch block?

Q. Which class is used to handle the input and output exceptions?

Q. Why do we use finally block?

Q. Which among the following is true for class exceptions?

Q. If both base and derived class caught exceptions ______________

Q. The catching of base class exception ___________________________ in java.

Q. If catching of base class exception is done before derived class in C++ ________________

Q. How many catch blocks can a class have?

Q. Since which version of java is multiple exception catch was made possible?

Q. To catch more than one exception in one catch block, how are the exceptions separated in the syntax?

Q. If a catch block accepts more than one exceptions then __________________

Q. Which among the following handles the undefined class in program?

Q. If classes produce some exceptions, then ______________________

Q. Which among the following is true?

Q. Which is the necessary condition to define the base and derived class catch blocks?

Q. Only the base class catch box can handle more than one exception in single block.

Q. Which condition among the following might result in memory exception?