adplus-dvertising
frame-decoration

Question

What is an exception?

a.

Problem arising during compile time

b.

Problem arising during runtime

c.

Problem in syntax

d.

Problem in IDE

Answer: (b).Problem arising during runtime

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is an exception?

Similar Questions

Discover Related MCQs

Q. Why do we need to handle exceptions?

Q. An exception may arise when _______________

Q. If a file that needs to be opened is not found in the target location then _____________

Q. Which is the universal exception handler class?

Q. What are two exception classes in hierarchy of java exceptions class?

Q. Which are the two blocks that are used to check error and handle the error?

Q. There can be a try block without catch block but vice versa is not possible.

Q. How many catch blocks can a single try block can have?

Q. Which among the following is not a method of Throwable class?

Q. To catch the exceptions ___________________

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?