Programming - Assertion - Discussion

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

 



Q.

Each _____________ contains a boolean expression that you believe will be true when the assertion executes.                         


A. assertion B. negation
C. static D. instance

Answer: Option A
Explaination:

 


An assertion is a statement in Java that enables you to test your assumptions about your program.Each assertion contains a boolean expression that you believe will be true when the assertion executes.




Discussion

Your Comments Goes here...
NameDiscussion