Sobes.tech
Junior — Senior

How to correctly override methods with exceptions in Java

livecode

Task condition

What override options are permissible? Is it possible to:

  • Keep the method signature unchanged
  • Add new exceptions to the declaration
  • Remove previously declared exceptions