• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java

 
Paul Arockiaraj
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Friends,

What is Runtime Exception? how do you handle that.

any one give with example program.

thks in adv.
 
Henry Wong
author
Marshal
Pie
Posts: 21496
84
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic