what is unreachable catch block error? code example
Example: what is unreachable catch block error?
try {
// statements
} catch(Exception e) {
System.out.println(e);
} catch(NumberFormatException nfe) { //unreachable block. Not supported by Java, leads to an error.
System.out.println(nfe);
}