[Oracle interview]If my class already extends from some other class what should I do if I want an instance of my class to be thrown as an exception object?
One cannot do anytihng in this scenarion. Because Java does not allow multipleinheritance and does not provide any exception interface as well.
页:
[1]