Assertions Flashcards
1
Q
Enables assertions by default (except system classes).
A
-ea
2
Q
Enables assertions for a given class name.
A
-ea:
3
Q
Enables assertions for all members in a given package name.
A
-ea:
4
Q
Short for -enablesystemsassertions; enables assertions in system classes. This is rarely used.
A
-esa
5
Q
Disables assertions by default(except for systems classes).
A
-da
6
Q
Disables assertions for a given class name.
A
-da:
7
Q
Disables assertions in all members of the given package name.
A
-da:
8
Q
Short for -disablesystemsassertions; disables assertions in the system classes. This is rarely used.
A
-dsa
9
Q
Compile code for an older version of java that uses assert as an identifier.
A
-source 1.3