Exception handling – try catch

One of the ways of handling exception in java is by using Try-catch block. Syntax for using try & catch try{     Normal statement(s) } catch (exceptiontype name){     Exception handling statement(s) } try{ Normal statement(s) } catch (exceptiontype name){ Exception handling statement(s) } We place normal code that might throw an exception […]

Share this article on