Checked — compile-time. Unchecked — runtime.
1// Checked — must catch or declare2public void readFile() throws IOException {3 throw new IOException();4}56// Unchecked — no need to catch7public void divide(int a, int b) {8 if (b == 0) {9 throw new ArithmeticException();10 }11}