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 sksksk mean in text slang?
What are the three parts of a simple empty class?
What is encapsulation c#?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
class type to basic type conversion
what type of questions
What are the types of abstraction?
Advantage and disadvantage of routing in telecom sector
Is enum a class?
What is static modifier?
What is the advantage of oop over procedural language?
What is polymorphism programming?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
What is abstract class in oop?
How is class defined?