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 wit

1 answer
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 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 thier own. No getter or setter methods need to
be documented.
Hint: The message class will have a constructor that takes the account number as an argument. Each subclass should also have their own constructor which takes their respective additional attribute as an argument; as well as the account number, obviously.
CIST1305-Program Design and Development

Answers

This would involve a five step process.According to sources, the most probable answer to this query is following a five-step process in order to provide a programmable software tor relay the communications asked. Thank you for your question. Please don't hesitate to ask in Brainly your queries. 

Similar Solved Questions

1 answer

To cover her rectangular screened porch with outdoor carpet, kendra needs at least 67.1 square feet of carpet. the length of kendra's porch is 12.2 feet. write and solve inequality for possible widths

to cover her rectangular screened porch with outdoor carpet, kendra needs at least 67.1 square feet of carpet. the length of kendra's porch is 12.2 feet. write and solve inequality for possible widths...
2 answers

9 candies cost less than $10 while 10 cost more than $11 how much does each candy cost

9 candies cost less than $10 while 10 cost more than $11 how much does each candy cost...
1 answer

15pts 16 if you put an explanation. Why did the headright system distinctly classify South Carolina as a southern colony? A) It established self-governance for the colonies. B) It led to the formation of large plantations based on cash crops. C) It allowed all white males to receive land and religious freedom. D) It provided protection from the Native Americans by stationing British troops in the South.

15pts 16 if you put an explanation. Why did the headright system distinctly classify South Carolina as a southern colony? A) It established self-governance for the colonies. B) It led to the formation of large plantations based on cash crops. C) It allowed all white males to receive land and religio...
2 answers

Which one of the following types of writing is considered formal? A. An instant message to a co-worker about after-hours plans B. An invitation to an anniversary party C. A personal email to a friend D. A cover letter with a job application

Which one of the following types of writing is considered formal? A. An instant message to a co-worker about after-hours plans B. An invitation to an anniversary party C. A personal email to a friend D. A cover letter with a job application...
1 answer

Valence electrons _______. A. have the highest energy level number B. are gained or lost to form ions C. All of the Above D. None of the Above

Valence electrons _______. A. have the highest energy level number B. are gained or lost to form ions C. All of the Above D. None of the Above...
2 answers

Whitney contributes 13% of her $70,600 annual salary to her 401(k) plan. What is her pretax income? O A. $71,41.92 O B. $61,422 O C. $49,016 O D. $59,808

Whitney contributes 13% of her $70,600 annual salary to her 401(k) plan. What is her pretax income? O A. $71,41.92 O B. $61,422 O C. $49,016 O D. $59,808...
1 answer

The population of Lavaland is 30,546. The population is growing at a rate of 2.4% per year. At this rate, what will the population be in 6 years?

The population of Lavaland is 30,546. The population is growing at a rate of 2.4% per year. At this rate, what will the population be in 6 years?...
1 answer

Help pls pls pls pls

help pls pls pls pls...
2 answers

The fuel tank of an airplane has a device that measures the fuels temperture . Befire tge airplane took off the tenoerature of the fuel was 27 degree c . After the airplane had been flyinf gor one hour the tempertaure of the fuel had decreased to 2 degree c. Which of the follwoing must have happend to moluses in the fuel

The fuel tank of an airplane has a device that measures the fuels temperture . Befire tge airplane took off the tenoerature of the fuel was 27 degree c . After the airplane had been flyinf gor one hour the tempertaure of the fuel had decreased to 2 degree c. Which of the follwoing must have happend ...
1 answer

3) What is the treatment for Zika fever?

3) What is the treatment for Zika fever?...
1 answer

He desires only money and power to negative sentence

he desires only money and power to negative sentence...
1 answer

The water level in a bathtub is directly proportional to the time that the water has been running. If the water level is 4 inches after 5 minutes, what is the water level after 9 minutes? O A. 10 inches O B. 7.2 inches O C. 8 inches OD. 11.25 inches​

The water level in a bathtub is directly proportional to the time that the water has been running. If the water level is 4 inches after 5 minutes, what is the water level after 9 minutes? O A. 10 inches O B. 7.2 inches O C. 8 inches OD. 11.25 inches​...
1 answer

Why did Abraham migrate to Palestine?

Why did Abraham migrate to Palestine?...
1 answer

Help I will be marking brainliest!!! A. 70° B. 64.6° C. 19.9° D. 1.2° Show work, if possible. Thanks❤️

Help I will be marking brainliest!!! A. 70° B. 64.6° C. 19.9° D. 1.2° Show work, if possible. Thanks❤️...
2 answers

How hypertension, heart disease, and stroke are related. explain

how hypertension, heart disease, and stroke are related. explain...
1 answer

Identify one definition of the word season as it is used in Nectar in a Sieve.

Identify one definition of the word season as it is used in Nectar in a Sieve....
2 answers

What is a rock?????????????????????/

what is a rock?????????????????????/...
1 answer

Please help soon ghhh​

please help soon ghhh​...
2 answers

Prokaryotes and Eukaryotes both fall in the category of living things. True False

Prokaryotes and Eukaryotes both fall in the category of living things. True False...

-- 0.052557--