Advertisement
akosiraff

MessageClassDiagram Answer

Nov 20th, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1.  
  2. Download: https://solutionzip.com/downloads/messageclassdiagram/
  3. Develop a class diagram for a Message class for a cell phone company. Include generalizations for child
  4. classes TextMessage, VideoMessage, and VoiceMessage.
  5. The Message class has attributes of account number and price. In addition it has the methods
  6. getInfo(accountNum) and calcPrice().
  7. The subclasses each have one additional attribute of thier own. TextMessage has characterLength,
  8. VideoMessage has messSize and VoiceMessage has numMinutes.
  9. Each subclass overrides the methods of the superclass with thier own. No getter or setter methods need to
  10. be documented.
  11. Use UMLet to draw the diagram, then copy and paste (or export an image and imp
  12. Download: https://solutionzip.com/downloads/messageclassdiagram/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement