Section 11.11 Assertions
• Assertions (p. 465) help catch potential bugs and identify possible logic errors.
• The assert statement (p. 466) allows for validating assertions programmatically.
• To enable assertions at runtime, use the -ea switch when running the java command.