View RSS Feed

Recent Blogs Posts

  1. Checked and Unchecked Exceptions

    by , 02-18-2012 at 05:14 PM
    Checked exceptions: Programmers are facilitated by checked Exceptions so that to dealings with exceptions which could be thrown. Exception class has sub classes. Checked Exception examples are:

    Arithmatic exception

    In a method when checked exception takes place, either program caught it or it passes to caller program.

    Unchecked exceptions: They are RuntimeException. Class Errors and subclasses of it are also unchecked.

    Example: ArrayIndexOutOfBounds ...