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

Why do we use oops?

593


What is new keyword in oops?

591


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!!!)

1639


What is the difference between abstraction and polymorphism?

617


given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy

2147






What are the 3 principles of oop?

619


What is polymorphism and why is it important?

562


What is encapsulation selenium?

554


Are polymorphisms mutations?

703


What is object in oop?

679


INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?

1634


What is the important feature of inheritance?

635


What is constructor in oop?

589


How to use CMutex, CSemaphore in VC++ MFC

4331


Why we use classes in oop?

583