When throws keyword is used?
Question : When throws keyword is used?
If a method does not handle a checked exception, the method must declare it using the throwskeyword. The throws keyword appears at the end of a method's signature.