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 class and object with example?
What are the benefits of oop?
Advantage and disadvantage of routing in telecom sector
What is polymorphism oop?
What is the use of oops?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
is there any choice in opting subjects like 4 out of 7
Explain the concepts involved in Object Oriented programming.
can inline function declare in private part of class?
what is different between oops and c++
Can we define a class within the interface?
What are the three main types of variables?
Can an interface inherit a class?
program for insertion ,deletion,sorting in double link list
What is abstraction oop?