Posts by Fernandes • 23 points
2 posts
-
2
votes1
answer154
viewsQ: Doubts about class composition or inheritance
I’m having some doubts in that composition between the ClienteJuridico and Clientephysics with the NotaFiscal. I did some research and saw that the objetos of these classes within another, in case…
-
0
votes0
answers200
viewsQ: How to inherit attributes from 2 different classes in JAVA?
I am trying to inherit the attributes of the Physical and Legal classes, but I know that in Java there is no multiple inheritance. How can I use the attributes of the Physical and Legal class in the…