What is an Exception ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of equations are there?

754


What is the size of integer?

829


What is the default size of set in java?

710


What is the relationship between clipping and repainting under awt?

855


How we create object in copy constructor?

869


Explain different ways of creating a thread?

750


What are variable arguments or varargs?

787


How do you convert boolean to boolean?

787


When should a function throw an exception?

815


What are the limitations of procedural programming approach?

755


Define iterator and methods in iterator?

743


What are different types of arrays?

740


What is the purpose of lambda expressions?

791


Why can't you declare a class as protected?

800


Which is easier netbeans or eclipse?

814