Question
Develop a class diagram for a Message class for a cell phone company. Include generalizations for child classes TextMessage, VideoMessage, and VoiceMessage. The Message class
Develop a class diagram for a Message class for a cell phone company. Include
generalizations for child classes TextMessage, VideoMessage, and VoiceMessage.
The Message class has attributes of account number and price. In addition it has the methods
getInfo(accountNum) and calcPrice().
The subclasses each have one additional attribute of thier own. TextMessage has
characterLength, VideoMessage has messSize and VoiceMessage has numMinutes.
Each subclass overrides the methods of the superclass with their own. No getter or setter
methods need to be documented.
Use UMLet to draw the diagram, then copy and paste (or export an image and import) to a
word processing document. Don't forget your name and other required info at the top of the
page.
could i get a complete answer to this, diagram and all connected, and how i would go about to connecting the diagrams.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started