what is the difference between ERROR and EXCEPTION?

Answer Posted / umashankar mishra

Exception is runtime entity
error is acompile time entityye

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by overloading?

580


write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.

1780


what's the basic's in dot net

1738


What is coupling in oop?

600


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

1652






What is interface in oop?

664


What is super in oop?

599


What is difference between oop and pop?

618


What is meant by multiple inheritance?

738


Why multiple inheritance is not allowed?

584


What is polymorphism and types?

602


What is the purpose of polymorphism?

680


What is polymorphism oop?

623


When not to use object oriented programming?

572


what are the ways in which a constructors can be called?

1583