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 are the advantages of exception handling?

542


How many ways can an argument be passed to a subroutine and explain them?

562


Difference between this() and super() ?

563


How many types of design patterns are there?

519


What is the map interface in java programming?

574






Explain the difference between jvm and jre?

548


Are variables stored in ram?

543


How is it possible for two string objects with identical values not to be equal under the == operator?

518


What do you understand by abstract classes?

585


Explain how hashmap works?

580


What does regex mean?

551


Can an interface implement another interface?

555


How many bytes are there?

527


Is java a super set of javascript?

568


How do you avoid global variables?

531