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 does and I oop mean in text?
Get me a number puzzle game-program
2. Give the different notations for the class.\
What is use of overloading?
Why multiple inheritance is not possible?
What are the components of marker interface?
Please send ford technologies placement paper 2 my mail id
How many human genes are polymorphic?
Why interface is used?
What is destructor example?
What is methods in oop?
What is the purpose of enum?
What is the point of polymorphism?
What is oops and its features?
Why is it so that we can have virtual constructors but we cannot have virtual destructors?