Which statement is true about assertions in the Java programming language?
Assertion expressions should not contain side effects.
Assertion expression values can be any primitive type.
Assertions should be used for enforcing preconditions on public methods.
An AssertionError thrown as a result of a failed assertion should always be handled by the enclosing method.
© 2017 QuizBucket.org