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

What is gui programming?

735


Write a program to search a number in the given list of numbers.

843


What is a classloader in java?

750


What does java ide mean?

849


What are the two ways of implementing multi-threading in java?

1172


What are autoboxing and unboxing? When does it occur?

721


What is nested loop? What is dangling else condition in it?

829


Does java arraylist maintain insertion order?

772


What is null object in java?

795


What is the difference between final, finally and finalize() in java?

807


Difference between predicate, supplier and consumer ?

818


Which class should you use to obtain design information about an object in java programming?

878


Is string an object?

881


Can we declare main () method as non static?

725


What is the super void?

701