Morgan Stanley interview question

What is the difference between a Running time exception and a normal exception

Interview Answers

Anonymous

18 Mar 2010

Runtime Exceptions are not to be handled within the program. The others which extend Exception class have to be caught using try catch block or declared in the signature of the method using the throws keyword.

Anonymous

8 Oct 2010

Runtime exceptions extend Throwable, and are not checked. An example of a runtime exception is NullPointerException, or OutOfMemoryError. An example of a checked exception is something like SQLException