Please tell me how to properly use the java.util.InputMismatchException exception? Here so swears on line InputMismatchException

 try { numbers[i] = sc.nextInt(); } catch(java.util.InputMismatchException){} 

    1 answer 1

    Invalid catch block syntax missing variable name representing block parameter.

     try { } catch (ExceptionType name) { } catch (ExceptionType name) { }