what is the difference between ERROR and EXCEPTION?

Answer Posted / poonam

Error are those that do not allow are program to run. Some
errors cannot be fixed at compilation time they are runtime
errors. But exeptions are those that occur because of the
user during runtime which we are unable to avoid.For that we
use exeption handling to handle such kind of errors. These
allow the programs to execute and exit gracefully...

Is This Answer Correct ?    23 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is interface in oop?

890


can we make game by using c

3738


How is polymorphism achieved?

783


I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...

1848


What is a null tree?

882


Is react oop?

830


What is difference between inheritance and polymorphism?

794


How to call a non virtual function in the derived class by using base class pointer

5945


What is the types of inheritance?

831


What is destructor give example?

823


What is the real life example of polymorphism?

865


Whats is abstraction in oops?

847


Why do while loop is used?

790


What is abstraction example?

845


Which language is not a true object oriented programming language?

889