标题: [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? [打印本页] 作者: 姜青林 时间: 2013-8-16 16:07 标题: [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? 作者: 胡一搏 时间: 2013-8-16 16:14
One can not do anytihng in this scenarion. Because Java does not allow multiple inheritance and does not provide any exception interface as well.