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
What does it mean when someone says I oop?
What is purpose of inheritance?
What is the oops and benefits of oops programming?
How long to learn object oriented programming?
What are constructors in oop?
hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.
Which type does string inherit from?
How do you use inheritance in unity?
Is react oop?
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
Which is better struts or spring?
What is inheritance and how many types of inheritance?
How is class defined?
Can static class have constructor?
Why do we use encapsulation in oops?