Which statement is true?

Loading

โœช Choose the correct option.

Which statement is true?

A. Assertions can be enabled or disabled on a class-by-class basis.
B. Conditional compilation is used to allow tested classes to run at full speed.
C. Assertions are appropriate for checking the validity of arguments in a method.
D. The programmer can choose to execute a return statement or to throw an exception if an assertion fails.

Leave a Comment