subject

Creating the cellphone class wireless solutions, inc. is a business that sells cell phones and wireless service. you are a programmer in the company's it department, and your team is designing a program to manage all of the cell phones that are in inventory. you have been asked to design a class that represents a cell phone. the data that should be kept as attributes in the class are as follows 1. the name of the phone's manufacturer will be assigned to the manufact attribute 2. the phone's model number will be assigned to the model attribute 3. the phone's retail price will be assigned to the retail_price attribute the class will also have the following methods aninitmethod that accepts arguments for the manufacturer, model number, and retail price a set_manufact method that accepts an argument for the manufacturer. this method will allow us to change the value of the manufact attribute after the object has been created, if necessary a set_model method that accepts an argument for the model. this method will allow us to change the value of the model attribute after the object has been created, if necessary a set_retail_price method that accepts an argument for the retail price. this method will allow us to change the value of the retail _price attribute after the object has been created, if necessary a get_manufact method that returns the phone's manufacturen a get_model method that returns the phone's model number get retail price method that returns the phone's retail price a the cellphone class will be imported into several programs that your team is developing. to test the class, you write the code. this is a simple program that prompts the user for the phone's manufacturer, model number, and retail price. an instance of the cellphone class is created and the data is assigned to its attributes sample program output (with input shown in bold) enter the manufacturer: acme electronics enter enter the model number: m1000 enter enter the retail price: 199.99 enter here is the data that you entered: manufacturer: acme electronics model number m1000 retail price: $199.99

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 06:40
Match the personality traits with their description
Answers: 2
question
Computers and Technology, 22.06.2019 13:30
Jane’s team is using the v-shaped model for their project. during the high-level design phase of the project, testers perform integration testing. what is the purpose of an integration test plan in the v-model of development? a. checks if the team has gathered all the requirements b. checks how the product interacts with external systems c. checks the flow of data in internal modules d. checks how the product works from the client side
Answers: 1
question
Computers and Technology, 22.06.2019 15:10
Which activity should be part of a long-term plan to positively affect yourhealth? oa. wearing regular clothing when handling toxinsob. not worrying about secondhand smokeoc. avoiding excessive exposure to sunlightod. drinking only well water
Answers: 1
question
Computers and Technology, 23.06.2019 14:00
How are stop motion special effects in animated films created
Answers: 1
You know the right answer?
Creating the cellphone class wireless solutions, inc. is a business that sells cell phones and wirel...
Questions
question
Social Studies, 29.07.2019 18:30
Questions on the website: 13722362