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 class in oop with example?

629


What is the example of polymorphism?

566


What makes a language oop?

604


What is byval and byref? What are differences between them?

1699


What is abstraction and encapsulation?

582






c++ program to swap the objects of two different classes

1771


What is new keyword in oops?

601


Get me a number puzzle game-program

1700


What is meant by multiple inheritance?

744


Why is it so that we can have virtual constructors but we cannot have virtual destructors?

3858


What does I oop mean?

625


What does it mean when someone says I oop?

596


Can static class have constructor?

592


What is destructor in oop?

631


Why do we use class?

642