what is the difference between ERROR and EXCEPTION?

Answer Posted / novice

exception is a special situation of the program where we
need to deviate from the normal path of execution and define
our own path i.e code to handle it. it is an error like
situation but not actually an error.


error is a wrong opinion given by the user or mistakes and
misconstrued statements made by the programmer which cannot
be resolved by the programmer

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory

2761


What is the purpose of enum?

581


Can you inherit a private class?

631


What is difference between class and object with example?

564


what is different between oops and c++

2001






Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

1639


Whats oop mean?

595


String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?

1944


Can a destructor be called directly?

601


What do you mean by overloading?

580


What is oops and its features?

587


Why do we use class in oops?

555


Why interface is used?

553


Why do we use inheritance?

628


Why multiple inheritance is not possible?

600