21Which statement is correct concerning the assertion mechanism?

  1. 1 This is the pseudocode representing the two types of assert statements:

  2. 2 Always handle an AssertionError in a try-catch-finally block.

  3. 3 This is the pseudocode representing the two types of assert statements:

  4. 4 Assertions of the 'assert booleanExpression;' variety should not be disabled before distributing the software.


Correct Option: A

Find more quizzes: