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
Why do we use class in oops?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< What is stream in oop? Explain the concepts involved in Object Oriented programming. What are objects in oop? Is this job good for future?
can do this job post grduate student? What is polymorphism used for? Why multiple inheritance is not possible? Give an example where we have to specifically use C programming language and C++ programming language cannot be used? What are the 3 pillars of oop? Why do we use class? What are the benefits of oop? Which method cannot be overridden? What is encapsulation example? What is inheritance and how many types of inheritance?