Computers and Technology

Write a class named person with data attributes for a person's name, address, and telephone number. next write a class named customer that is a subclass of the person the customer class should have a data attribute for a customer number and a boolean attribute indicating whether the customer wishes to be on a mailing list. write a complete main program to prompt the user for all of the needed data, create a customer object, and print out the customer data using the __str__ method. remember that class attributes should be defined as private.

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 06:20, Ab20600
Which text function capitalizes the first letter in a string of text? question 10 options: upper capital first proper
Answers: 1
image
Computers and Technology, 23.06.2019 07:00, MissSmartyPants88
To produce a starlight effect in her photograph, lina should choose the filter for her camera.
Answers: 1
image
Computers and Technology, 23.06.2019 13:30, gamingisfun
Me ! evelyn is a manager in a retail unit. she wants to prepare a report on the projected profit for the next year. which function can she use? a. pmt b. round c. division d. what-if analysis
Answers: 2
image
Computers and Technology, 23.06.2019 22:30, meijorjay94p2u2zy
Apart from confidential information, what other information does nda to outline? ndas not only outline confidential information, but they also enable you to outline .
Answers: 1
Do you know the correct answer?
Write a class named person with data attributes for a person's name, address, and telephone number....

Questions in other subjects:

Konu
History, 30.04.2021 20:10
Konu
Spanish, 30.04.2021 20:10
Konu
French, 30.04.2021 20:10