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
What is solid in oops?
What does no cap mean?
officer say me - i am offered to a smoking , then what can you say
What is an interface in oop?
What is encapsulation process?
Why is there no multiple inheritance?
Is oop better than procedural?
Why do pointers exist?
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!!!)
Can we create object of interface?
How does polymorphism work?
what is different between oops and c++
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
What is abstraction and encapsulation?