Skip to content

Glossary: Coding Interviews in Java

java -ea

Also written: -ea, enable assertions

The Java option that turns on `assert` checks. Without it, a plain `java File.java` skips every assert and tests silently 'pass'.

Where the book teaches it

Related terms

assert