What is an Exception ?

Answers were Sorted based on User's Feedback



What is an Exception ?..

Answer / ramanareddy333

An Exception is logical error.An exception is an event,
which occurs during the execution of a program, that
disrupts the normal flow of the program's instructions.
when an exception is occur the program is teriminated
suddenly. using Try , Catch,finally block to avoid the
exception

Is This Answer Correct ?    23 Yes 1 No

What is an Exception ?..

Answer / gopalramana

abnormal conditions arise in a program called Exception

Is This Answer Correct ?    6 Yes 1 No

What is an Exception ?..

Answer / niranjanravi

An Exception is a mild error conditon that your program
encounters.An Exception can be caught and recoverable.

Is This Answer Correct ?    5 Yes 2 No

What is an Exception ?..

Answer / jyothi

An Exeception is an object that contain the information
about what went wrong

Is This Answer Correct ?    4 Yes 1 No

What is an Exception ?..

Answer / ravikiran(aptech mumbai)

exception is an abnormal condition occurs during runtime.

Is This Answer Correct ?    4 Yes 1 No

What is an Exception ?..

Answer / sonam

Exception is just like a condition which is caused by run
time in program.

Is This Answer Correct ?    2 Yes 0 No

What is an Exception ?..

Answer / asit nautiyal

An exception is any error condition or unexpected behavior
encountered by an executing progarm othre than logic or
syntex errors.

The error conditions might include conditios such as
division by zero, access to an array to an array outside of
its bounds,etc.

To handle exception we use three statements :
1. try 2. catch 3.finally

Is This Answer Correct ?    7 Yes 6 No

What is an Exception ?..

Answer / priyanka verma

exception are run time error which a programmer usually do not except, they occur accidently which may result in abnormal termination of the program.

Is This Answer Correct ?    0 Yes 0 No

What is an Exception ?..

Answer / luckystarjava

Exception is an event occur-ed during the execution of the
program because of the abnormal behavior of the code.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is the use of static methods?

0 Answers  


What is the similarity between dynamic binding and linking?

0 Answers  


Which method will get invoked first in a stand alone application?

1 Answers  


In java, how we can disallow serialization of variables?

0 Answers  


What is variable and rules of variable?

0 Answers  






What will happen inside init() in servlet. my interviewer asked servlet lifecycle. i said "once servlet is loaded in to memory init() will be called which performs servlet initialization " . Again interview asked what values will be initialized . what is difference between init() and init(ServletConfig config).

2 Answers   Infinite Computer Solutions, TCS,


What is difference between classpath and path variables in java?

0 Answers  


What is meant by method overriding?

0 Answers  


Explain about fail safe iterators in java?

0 Answers  


Is java platform independent?

0 Answers  


hi to all. well can you please tell me that why String class is immutable? Thanks in advance.

5 Answers   Huawei,


Is list ordered in java?

0 Answers  


Categories