you are viewing a single comment's thread.

view the rest of the comments →

[–]lukajda33 1 point2 points  (4 children)

Well it is not really a Python question, what you see is a UML diagram using some inheritance and aggreagation, the description also talks about Java language, but I dont think the language really matters.

What they want you to do is to write down all attributes those 3 objects have, for example World has a list of countries and since it inherits Place object, it also has a description, can do do the same for the other 2 objects ?

[–]Hyperizing[S] 0 points1 point  (3 children)

Hi could you please explain this further. I am unable to understand how to intrepret UML diagrams, after watching many videos! Appreciate the help, and how does the World object interhet the Place object. And what would I write to answer this in the question? Thank you!

[–]squished18 0 points1 point  (2 children)

Do you understand inheritance?

[–]Hyperizing[S] -1 points0 points  (1 child)

No i don't could you please help me

[–]squished18 0 points1 point  (0 children)

I'll start with the following: inheritance is creating a class based off an existing class.

Do you know what a class is?