Write a base class to hold basic computer information:
-Type of computer (mobile or desktop).
-CPU speed
-Amount of RAM
-Hard disk size
-Create set and get methods for all variables.
-Do not ask for any information in the class. All info will be passed in via set methods.
Write a class that inherits the computer class for Windows computers. In addition, add:
-Operating System
-Manufacturer
-Screen size
-Do not ask for any information in the class. All info will be passed in via set methods.
Write a class that inherits the computer class for Mac computers. In addition, add:
-Operating System
-Screen size
-Do not ask for any information in the class. All info will be passed in via set methods.
Write a demo class.
-Prompt the user for all information for one Windows machine and one Mac machine.
-Display all of the info for both systems to the screen.
-Repeat until the user chooses to quit.