Welcome to the CSC Q&A, where you can get help (and share your knowledge) about computer science!

Textbook Exercise 3.1?

+13 votes
Has anyone been able to figure out the UML diagram for 3.1 (a) in the textbook? I'm having trouble wrapping my head around it.
asked Sep 11, 2016 in CSC 285 (F16) by Michael Carlson (100 points)

1 Answer

+3 votes
Yes, that's a tricky one.

Think about "is-a" and "has-a" relationships... Think about what supertypes might make sense to invent to capture common behavior or common interfaces between classes...
answered Sep 11, 2016 by Forrest Stonedahl (3,438 points)
...