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

II only.


III only.


I and II only.


II and III only.


I and III only.

Select an assignment template