user image

Pooja Sharma

Job Interview Skills
English
2 years ago

49. If I want an object of my class to be thrown as an exception object, what should I do?

user image

Abhishek Mishra

2 years ago

The class should extend from Exception class. Or you can extend your class from some more precise exception type also.

user image

Abhishek Mishra

2 years ago

The class should extend from Exception class. Or you can extend your class from some more precise exception type also.

Recent Doubts

Close [x]