what is the difference between ERROR and EXCEPTION?

Answer Posted / harsh.chiks

>>ERROR-It occurs at compile time,it just stops the
execution of a program
EXCEPTION-IT occurs at run time,we can handle them by
exception handling.It doesn't abrupt the program execution

Is This Answer Correct ?    6 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is oops and why we use oops?

814


What is an advantage of polymorphism?

838


which feature are not hold visual basic of oop?

1964


What do you mean by Encapsulation?

834


What does and I oop mean?

860


Why is destructor used?

780


What is the significance of classes in oop?

829


They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1642


How do you use inheritance in unity?

823


Why multiple inheritance is not possible?

824


What are functions in oop?

800


What are objects in oop?

854


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

1907


can we make game by using c

3750


what is the drawback of classical methods in oops?

3144