Java- ExceptionHandling Overriding rules

ExceptionHandling Method Overriding rules

If the superclass method does not declare an exception
If the superclass method does not declare an exception, subclass overridden method cannot declare the new -checked exception” but it can declare -unchecked exception”.

If the superclass method declares an exception
If the superclass method declares an exception, subclass overridden method can declare same, subclass exception or no exception(delete exception) but cannot declare parent exception.