课程: Programming Foundations: Object-Oriented Design
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Challenge: Jukebox class relationships - Python教程
课程: Programming Foundations: Object-Oriented Design
Challenge: Jukebox class relationships
- Congratulations, you've reached the fifth and final challenge of this course. It builds on the previous four challenges, to create a full class diagram for a spaceship jukebox. For this challenge, you'll be identifying the relationships between classes. If you have your own set of class diagrams from completing the previous challenges, then I encourage you to work from those. Otherwise, feel free to use our class diagrams, shown here. Your goal is to identify opportunities between the classes to implement things like inheritance, interfaces, aggregation, and or composition. And then modify your class diagrams with the appropriate UML markings to indicate those class relationships. To do that correctly, you may need to add or remove some attributes and methods from your existing classes or even create some new classes. That's all part of the challenge. There are a lot of possible solutions here, so take some time to think…
内容
-
-
-
-
-
-
-
-
(已锁定)
Identifying inheritance situations4 分钟 55 秒
-
(已锁定)
Using inheritance2 分钟 44 秒
-
(已锁定)
Abstract and concrete classes3 分钟 10 秒
-
(已锁定)
Interfaces4 分钟 15 秒
-
(已锁定)
Aggregation2 分钟 3 秒
-
(已锁定)
Composition1 分钟 45 秒
-
(已锁定)
Challenge: Jukebox class relationships1 分钟 6 秒
-
(已锁定)
Solution: Jukebox class relationships3 分钟 17 秒
-
(已锁定)
-
-
-