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

Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4496


What is the difference between a constructor and a destructor?

882


Why do we need polymorphism in c#?

903


c++ program to swap the objects of two different classes

2147


What are functions in oop?

800


String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?

2176


What is polymorphism what are the different types of polymorphism?

769


What are two types of polymorphism?

827


Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.

2851


What do you mean by variable?

785


What is class and example?

832


Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.

2240


What is destructor example?

790


What is the renewal class?

2443


What is difference between data abstraction and encapsulation?

852