News

When specifying multiple catch blocks, don’t specify a catch block with a supertype before a catch block with a subtype. For example, don’t place catch (IOException ioe) before catch ...
So you use a “try catch” block. Try essentially asks Java to try and do something. If the operation is successful, then the program will continue running as normal.