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

What is the full form of oops?

936


What is and I oop mean?

858


What is overloading and its types?

843


What is difference between multiple inheritance and multilevel inheritance?

910


i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<

1658


• What are the desirable attributes for memory managment?

1973


INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?

1910


What are the two different types of polymorphism?

916


What is pointer in oop?

747


What is polymorphism and why is it important?

802


What is the main feature of oop?

918


What is encapsulation in oops?

780


What is overriding in oops?

846


What are two types of polymorphism?

826


What are the benefits of interface?

820