<<< Checked exceptions | Index | Exception class and the instanceof operator >>> |
public static void exceptionMethod()
throws InputMismatchException,
FileNotFoundException
{
//statements
}
The method exceptionMethod() throws exceptions of the type InputMismatchException and FileNotFoundException
<<< Checked exceptions | Index | Exception class and the instanceof operator >>> |