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


Please Help Members By Posting Answers For Below Questions

What is a superclass in oop?

894


Describe these concepts: Polymorphism, Inheritance and Abstraction.

820


What is the renewal class?

2391


Write a program to sort the number with different sorts in one program ??

2083


What is debug class?what is trace class? What differences are between them? With examples.

1827






What is balance factor?

793


What is an interface in oop?

757


Why polymorphism is used in oops?

768


Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.

887


write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory

2959


What is purpose of inheritance?

828


What are the advantages of polymorphism?

748


What is difference between multiple inheritance and multilevel inheritance?

835


Why multiple inheritance is not allowed?

775


What is the oops and benefits of oops programming?

708