The largest Interview Solution Library on the web


« Previous | 1 | 2 | 3 | Next »

Jdk7 - Catching Multiple Exception Type in Single Catch Block


in JDK 7, a single catch block can handle more than one exception types.

For example, before JDK 7, you need two catch blocks to catch two exception types although both perform identical task:
« Previous | 1 | 2 | 3 | Next »


copyright © 2014 - all rights riserved by javatechnologycenter.com