Skip to main content
1 of 4
Caeta
  • 177
  • 8

Doubt with inherint in UML

I was doing a class model and I find that what I need make an inheritance. For this question I build a example diagram in which I've a Person class with some attributes and I've other class Class1 that needs to use objects from a class with same Person's attributes plus the "sex" and "brithDate" attributes, so I create a Person2 class which inherits from Person. But for other class Class2 I need to use objects with only the same Person's attributes but I can't do an association relationship because Person it's a abstract class. How this situation is managed?

Diagram enter image description here

Caeta
  • 177
  • 8