Programming - Exception Handling

You Are Here :: Home > JAVA > Exception Handling - General Questions

 
25.

The other way to handle an exception is using the ___________________ clause.                        


A. try B. catch
C. Finally D. throws




26.

A _______________________________ is an exception that is typically a user error or a problem that cannot be foreseen by the programmer.                        


A. Checked Exceptions B. UnChecked Exceptions
C. both A and B D. none




27.

A runtime exception is an exception that occurs that probably could have been avoided by the programmer.                        


A. Checked Exceptions B. UnChecked Exceptions
C. Runtime Exception D. Compile Time Exception




28.

__________________ are typically ignored in your code because you can rarely do anything about an error.                        


A. Error B. Message
C. Abstraction D. Encapsulation




29.

All exception classes are subtypes of the_______________________________ class.                        


A. java.io.Exception B. java.lang.Exception
C. java.sql.Exception D. java.date.Exception




30.

A ___________ block is placed around the code that might generate an exception.                        


A. try B. catch
C. both A and B D. none




« prev

1

2

3

4

5

6

7

next »

 
 



© 2013 freshersindia.in ® | Copyrights | Terms & Conditions
   Designed by Freshers India
Catch Us on