Programming - Exception Handling

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

 
7.

______________________ provides the means to separate the details of what to do when something out of the ordinary happens from the main logic of a program.                         


A. Exceptions B. Assertion
C. Abstraction D. Encapsulation




8.

How many types of Exceptions are there?                        


A. 1 B. 2
C. 3 D. more than 4




9.

_____________________________ are the exceptions which occur during the compile time of the program.                        


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




10.

The _____________________ checks at the compile time that whether the program contains handlers for checked exceptions or not.                        


A. CPU B. Compiler
C. Keyboard D. Executable Event




11.

Checked Exceptions do not extend RuntimeException class and must be handled to avoid a compile-time error by the programmer.                        


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




12.

Checked Exceptions extend the java.lang.Exception class                        


A. Checked Exceptions B. UnChecked Exceptions
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