Posts by Alvaro • 51 points
1 post
-
5
votes2
answers1026
viewsQ: Can a subclass have two superclasses?
Suppose I have a superclass Pessoa and another Funcionário, with its certain attributes and methods. My class Professor may be "daughter" of Pessoa and Funcionário, once it fits both? If yes how is…