| Author |
Java
|
Paul Arockiaraj
Greenhorn
Joined: Feb 17, 2006
Posts: 7
|
|
Dear Friends, What is Runtime Exception? how do you handle that. any one give with example program. thks in adv.
|
 |
Henry Wong
author
Sheriff
Joined: Sep 28, 2004
Posts: 16680
|
|
Originally posted by Paul Arockiaraj: Dear Friends, What is Runtime Exception? how do you handle that. any one give with example program. thks in adv.
A Runtime exception is merely an exception that is, or is derived from, a java.lang.RuntimeException class. To use, it is no different from any other exception. To compiler, it is unchecked -- meaning that it won't require you to declare your class as throwing such an exception, nor require you to handle it. Henry
|
Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
|
 |
 |
|
|
subject: Java
|
|
|