What is an exception?

Answers were Sorted based on User's Feedback



What is an exception?..

Answer / vikneswarank

when we write code and try to execute the that code error
may be occur in runtime or complie time complie time error
nothing but syntex error we can easily set right by
reediting suitable code runtime error is exception. we can
handle the exception use Exception class which is belongs
to java.lang. package using this class handle the exception
(try catch) block

Is This Answer Correct ?    2 Yes 0 No

What is an exception?..

Answer / swapna

Exception is a runtime error. It is a abnormal condition
that arises at runtime in a code sequence

Is This Answer Correct ?    1 Yes 0 No

What is an exception?..

Answer / vikas

Exception is a class available in java.lang package and has
many subclasses.

Is This Answer Correct ?    1 Yes 0 No

What is an exception?..

Answer / ravikiran(aptech mumbai)

exception is the abnormal condition which will occur at run time

Is This Answer Correct ?    0 Yes 0 No

What is an exception?..

Answer / rahul kakadiya

EXECEPTION IS A ONE TYPE OF RUN TIME ERROR ,WHICH CAN BE
HANDLE BY EXCEPTION HANDLAR.

Is This Answer Correct ?    0 Yes 0 No

What is an exception?..

Answer / sumit pal singh

Exception is an event that occur at run time.  Exception is a problem that we can solve by providing a programmatic solution. 

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Explain the difference between string, stringbuffer and stringbuilder in java?

0 Answers  


What is multithreading and its advantages?

0 Answers  


What is a java developer salary?

0 Answers  


class A{ m2(){ } } class B extends A{ m2(){ } } class c extends B{ m2(){ } } class my_class extends c{ m2(){ } pulic static void main(){ ...My_class a = new my_class(); super.super.super.m2(); is this is leagal if not find what is the legal procedure in order to call A's version of m2(); }

8 Answers   Logica CMG,


Is there is any error if you have multiple main methods in the same class?

10 Answers   Infosys, Wipro,






What are void pointers?

1 Answers  


When you declare a method as abstract method ?

2 Answers   HP,


Can we print null in java?

0 Answers  


What are concepts of OOPS and how are they implemented in Java?

2 Answers   KPIT,


Can a lock be acquired on a class?

3 Answers  


How many bytes is a string java?

0 Answers  


What is jvm? Why is java called the platform independent programming language?

0 Answers  


Categories