Domanda di colloquio di Goldman Sachs

How to inherit methods from two classes in a third class?

Risposta di colloquio

Anonimo

16 dic 2015

Iff it's Java then the only way would be through inheritance. By this I mean Super class has a method. This class is then inherited by a child class, which is then inherited by the 3rd class. This is the only way as Java doesn't support multi inheritance in classes