Answer Posted / rajesh manem
Using try and Catch blocks the exceptions are handling C++.
We can write our own defined class and we can handle the
exception.Using throw it will throw the exception t the
calling method/class. The throws keyword is used to tell
this method may throw these type of exceptions.We can throw
any exception what ever you like including class objects.
Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
How do you explain polymorphism?
Can you name some types of inheritance?
Write a c++ program to display pass and fail for three student using static member function
What is polymorphism in oops with example?
What is polymorphism and example?
What is polymorphism programming?
What is pointer in oop?
How do you use inheritance in unity?
What does oop mean in snapchat?
Why do we use class?
What is overriding in oops?
Can we create object of interface?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
How does polymorphism work?
Why is polymorphism used?