1.Create a class Errorhandle3. Write code that demonstrates how handle and declare rules are different for runtime exceptions and checked exceptions.
Checked Exceptions: This exception is thrown when there is an error in input-output operation. In this case operation is normally terminated.
Runtime Exceptions: These Exception arises during run-time, that occur due to invalid argument passed to method.
For more information, visit the following links: