Exceptions & validation in Java: interview exercises
Exceptions & validation in Java: 6 test-checked interview exercises (A custom checked exception), each beside a worked example, with tests as you go. Free.
- A custom checked exception
- Parse with a fallback
- try-with-resources
- Collect every validation error
- Translate an exception
- Retry an action
Each exercise pairs a worked example with a twin problem to solve in a real editor; the tests run the moment you do. Progress is saved in your browser, and in your account if you sign in.