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
What are the 4 main oop principles?
What is abstraction with example?
Why is abstraction used?
Why do we use inheritance?
Can we have inheritance without polymorphism?
What are oops methods?
Why is destructor used?
What is data binding in oops?
when to use 'mutable' keyword and when to use 'const cast' in c++
What is polymorphism and example?
write a program to find 2^n+1 ?
What is the difference between procedural programming and oops?
Why do we use polymorphism in oops?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
What is the importance of oop?