Programming - Assertion

You Are Here :: Home > JAVA > Assertion - Jdbc

 
19.

we can use ______________ to guarantee the behavior.                        


A. inheritance B. assertions
C. polymorphism D. abstraction




20.

If a program should never reach a point,then a ___________________ false assertion may be used                        


A. constant B. single
C. doubled D. multiple




21.

How many types of Assertions?                        


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




22.

__________ ensures the program validity by catching exceptions and logical errors.                        


A. encapsulation B. assertions
C. inheritance D. polymorphism




23.

___________________ are the assertions which invokes when a method is invoked                        


A. Preconditions B. postcondition
C. both A and B D. none of these




24.

____________________ are the assertions which invokes after a method finishes.                         


A. Preconditions B. postcondition
C. both A and B D. none of these




« prev

1

2

3

4

5

next »

 
 



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