350 TO 500 WORDS ON THIS QUESTION: - A novice object-oriented programmer is building a simulation air-combat game. He intends to model an airplane as consisting of the following parts: wing, tail, engine, and fuselage. He comes up with the following two alternative designs (Note: the triangle in the diagram below denotes inheritance)
Do you have any comments on these two designs? What is the relationship between a wing and the airplane? Is inheritance the appropriate way to capture this relationship? Discuss your reasoning. (Hint: Take a look at Chapter 13 in your textbook and the discussion on collaborators and CRC cards.)
its a nice start but i was hoping for some example code or an image. also you missed out on the hint shown in the question (Hint: Take a look at Chapter 13 in Object first with Java and the discussion on collaborators and CRC cards.)
i can send you a copy of the book if you don't have it.
the last thing that i would like is citing and referencing which needs to be part of the text.
once you've done this then i would be happy to rate and finish.
fair points, happy with your comments and would be happy with an example code, an image (UML) and some referencing in the body of the text.
correct, some scholarly refs and some relevant comments from design books etc.
bit of both please. some citing and referencing on oo programing and design as well as specific stuff on this project would be great.