subject
Computers and Technology, 19.08.2019 17:10 HaseelM

2. (100 points) 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. both classes should have appropriate __init__ and __str__ methods (you can skip the set methods this time, but you will need get methods in person for name, address, and phone). 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.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 16:00
Choice of type is influenced primarily by these two factors?
Answers: 3
question
Computers and Technology, 22.06.2019 19:20
Terri needs to insert a cover page into her document. where should she go to access the commands to do so? o insert tab, objects group o insert tab, illustrations group o insert tab, pages group o insert tab, media group submit
Answers: 1
question
Computers and Technology, 23.06.2019 21:30
To move a file or folder in microsoft windows, you can click and hold down the left mouse button while moving your mouse pointer to the location you want the file or folder to be, which is also known as.
Answers: 3
question
Computers and Technology, 25.06.2019 08:00
Implement a document scanning function wordcountengine, which receives a string document and returns a list of all unique words in it and their number of occurrences, sorted by the number of occurrences in a descending order. if two or more words have the same count, they should be sorted according to their order in the original sentence. assume that all letters are in english alphabet. you function should be case-insensitive, so for instance, the words “perfect” and “perfect” should be considered the same word.
Answers: 1
You know the right answer?
2. (100 points) write a class named person with data attributes for a person's name, address, and te...
Questions
question
Arts, 25.11.2020 01:00
question
Mathematics, 25.11.2020 01:00
question
Mathematics, 25.11.2020 01:00
question
Mathematics, 25.11.2020 01:00
question
English, 25.11.2020 01:00
question
Mathematics, 25.11.2020 01:00
question
Mathematics, 25.11.2020 01:00
question
Mathematics, 25.11.2020 01:00
question
Mathematics, 25.11.2020 01:00
Questions on the website: 13722363