Answer Posted / achal ubbott
Exception handling is not a must of programming. But it is
a cleaner way of getting signal if something goes wrong in
the code. Prior to exceptions people used return values of
functions for reporting errors to application using the
classes inside libraries. The application would call some
function(defined inside class) from within try bock. Now if
something goes wrong then the function(defined inside the
class) would throw an exception. This exception is then
handled by catch block in the application.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the real time example of encapsulation?
What is purpose of inheritance?
What is methods in oop?
What is destructor example?
What is abstraction oop?
Is this job good for future? can do this job post grduate student?
What is the problem with multiple inheritance?
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
What is destructor oops?
What are oops methods?
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!!!)
What is object-oriented programming? Webopedia definition
What is the point of polymorphism?
Get me an image implementation program.
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)