Run Time Exceptions

What do exception mean in java ? what type of run time exceptions?

Questions by pankajjo

Showing Answers 1 - 12 of 12 Answers

ranaraj

  • Dec 1st, 2008
 

Runtime exception mean a codition of error in program at runtime. The error is like x=a/(b-c) when b=c; then a x=infinite. Its a runtime error we solve it with use of try and catch.

  Was this answer useful?  Yes

ranaraj

  • Dec 3rd, 2008
 

List of error exceptions are

1).arithmetic Exception
2).arrayindexoutofbounds Exception
3).arraystore Exception
4).filenotfoundException
5).ioException
6).nullpointerException
7).numberformatException
8).outofmemoryException
9).securityException
10).stackoverflowException
11).stringindexoutofboundsException

  Was this answer useful?  Yes

sanjusr25

  • Jun 12th, 2009
 

Exception means an unwanted condition occur during the excecution of a program.

Exception are of two type


1) Checked Exception
2) Unchecked Exception


Checked exception are those exception which can be checked at compile time such as NumberFormatException


Unchecked Exception are those which can not be checked at compile time such as file not found exception, arrayoutofBound exception, all runtime exception are Unchecked exception

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions