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 inheritance in oop?

797


What is use of overloading?

856


What is stream in oop?

1037


What is encapsulation process?

783


Can you explain polymorphism?

822


What is polymorphism in oops with example?

759


What is polymorphism oop?

818


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

5898


Can we define a class within the interface?

787


What is overriding in oop?

787


What is difference between polymorphism and inheritance?

808


Why is encapsulation used?

766


Explain virtual inheritance?

887


is there any choice in opting subjects like 4 out of 7

1926


What is the use of oops?

796