Limited access

Upgrade to access all content for this subject

Which of these are TRUE statements about an assertion in Java?

I.    Each assertion statement contains boolean logic to test
      what the programmer believes is true at the point when 
      the assertion runs
II.   The main purpose of an assertion is to emphasize what is
      most important in the program
III.  An assertion is a statement that gives the programmer the
      ability to verify expectations/results
A

II only.

B

III only.

C

I and II only.

D

II and III only.

E

I and III only.

Select an assignment template