Checked — compile-time. Unchecked — runtime.
1// Checked2throws IOException3 4// Unchecked5throw new NullPointerException();