+ 21
In the Java programming language, can a class inherit its methods from several other classes at the same time?
2 Respostas
+ 7
Multiple inheritance of classes is not allowed in Java so this is not at all a possibility. You can do the same with the help of interfaces but you must give an implementation to all the overridden methods because interface methods are by default abstract.
+ 5
No, you have to use interfaces.