R
R
rshruslan2022-01-11 20:12:53
UML
rshruslan, 2022-01-11 20:12:53

Do I understand UML schemas correctly?

Do I understand correctly that this is inheritance
61ddba5c487e9673014429.png
And this is polymorphism?
61ddba8bf1d69027092999.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Victor Bomberow, 2022-01-11
@majstar_Zubr

Polymorphism is about source code, and it's not seen through the UML. Inheritance in a class hierarchy can be seen as one implementation of ad-hoc polymorphism.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question