what is the difference between ERROR and EXCEPTION?

Answer Posted / amitdubey

Errors are the mistakes we make in our progra
ms which we come to know in compile time and exception are the eroors that takes place during runtime.
they can be handled by exception handling

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction

1666


What is basic concept of oop?

719


when to use 'mutable' keyword and when to use 'const cast' in c++

1657


Whats oop mean?

611


Why is destructor used?

589






What is multilevel inheritance?

737


What is protected in oop?

622


What is abstraction in oop?

648


Why multiple inheritance is not possible?

620


How long to learn object oriented programming?

584


Why is abstraction needed?

579


What is persistence in oop?

681


What is pointer in oop?

549


What is the purpose of polymorphism?

689


What is the point of oop?

671