Question: 2 - CPU class, which includes these attributes ( CPU speed, CPU cache memory size, price ) . Note: Do your research and put the
CPU class, which includes these attributes CPU speed, CPU cache memory size, price
Note: Do your research and put the right price for the CPU.
The RAM is a data field in the Computer class to represent the size of the memory.
Add setters and getters for all of these classes.
Overload the toString in the Class Computer to print the total Price.
In the main create one object of type Computer and display the total price based on the user input.
Note: You should display a menu for the user to choose the computer options.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
