CHAPTER 8 - Java Software Solutions, 4e Chapter 8...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Java Software Solutions, 4e Lewis/Loftus Chapter 8 Chapter 8 Exercise Solutions 8.1. Draw a UML class diagram showing an inheritance hierarchy containing classes that represent different types of clocks. Show the variables and method names for two of these classes. Clocks (display type, power or winding mechanism, time adjustment / reset mechanism, size, color, digital or analog, case material) Personal or Home Worn Wrist watches (Gender: mens, womens, unisex; band material) Everyday Dress Sport Pocket watches (with / without face covers, with, without chain) Belt watches Pendant watches (necklace material and color) Not Worn Home clocks (illuminated, nonilluminated) Nightstand clocks Shelf Clocks Desk clock Wall clock (interior, exterior) Vehicle clocks Business Interior Desk Wall TimeCard Exterior Component Appliance clocks (appliance type) System clocks (system type: watering, lighting, security, computer)
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Java Software Solutions, 4e Lewis/Loftus Chapter 8 8.2. Show an alternative diagram for the hierarchy in the previous problem. Explain why it may
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 3

CHAPTER 8 - Java Software Solutions, 4e Chapter 8...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online