Programming - Assertion

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

 
7.

For the javac compiler to accept code with assertions, use this ______________ option                        


A. command-line B. argument
C. prompt D. assertion




8.

Assertions may slow down execution.why?                        


A. Yes B. No
C. cant say D. may be




9.

Assertions are, by default, _______________ at run-time                        


A. disabled B. enabled
C. both D. none




10.

Enables or disables assertions in all classes except ________ classes                        


A. static B. non static
C. final D. system




11.

___________________ assertions in the named package and any subpackages                         


A. Enables or disables B. Enables
C. Disables D. none




12.

Enables or disables assertions in the _______________ package in the current working directory                        


A. unnamed B. named
C. languages D. Both B and C




« prev

1

2

3

4

5

next »

 
 



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