Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using JAVA, please don't use the following in the Main Class. Thank you! import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.HashMap; import java.util.Map; General Description:
Using JAVA, please don't use the following in the Main Class. Thank you!
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.HashMap; import java.util.Map;
General Description: For this assignment you will be writing a point of sale program which allows a user to build a computer and calculate the total cost of the build. You will create a menu-driven program which will give the user several options for building the computer. This program will have you juggling several different classes at once. NOTE 1: You may NOT make any changes to the classes as they are defined here. You may not add to, or take from the class. They need to be designed following the UML diagrams exactly. You MAY however add any additional classes you feel will enhance your program or make the code more organized NOTE 2: The computer parts and prices are outdated by this point. If you wish to do your own research and use newer parts and costs feel free! You must have at least three of each type of computer part. Feel free to add more parts as you see fit. Please use package name "hw3". The Computer Class: Computer towerCase: Case Case object. onitor: Monitor cpu: CPUU videoCard: VideoCard hardDrive: HardDrive memorv: Memorv Monitor object. CPU object. A VideoCard object. 1 HardDrive object. A Memory object. Computer(case: Case, monitor: Monitor, cpu: CPU, onstructor videoCard: VideoCard, hard Drive: HardDrive, memory: Memory) getCase0: Case +getMonitor): Monitor getcPU): CPU +getVideoCard: VideoCard getHardDrive: HardDrive etter for the Case etter for the Monitor Getter for the CPU etter for the VideoCard. etter for the HardDrive General Description: For this assignment you will be writing a point of sale program which allows a user to build a computer and calculate the total cost of the build. You will create a menu-driven program which will give the user several options for building the computer. This program will have you juggling several different classes at once. NOTE 1: You may NOT make any changes to the classes as they are defined here. You may not add to, or take from the class. They need to be designed following the UML diagrams exactly. You MAY however add any additional classes you feel will enhance your program or make the code more organized NOTE 2: The computer parts and prices are outdated by this point. If you wish to do your own research and use newer parts and costs feel free! You must have at least three of each type of computer part. Feel free to add more parts as you see fit. Please use package name "hw3". The Computer Class: Computer towerCase: Case Case object. onitor: Monitor cpu: CPUU videoCard: VideoCard hardDrive: HardDrive memorv: Memorv Monitor object. CPU object. A VideoCard object. 1 HardDrive object. A Memory object. Computer(case: Case, monitor: Monitor, cpu: CPU, onstructor videoCard: VideoCard, hard Drive: HardDrive, memory: Memory) getCase0: Case +getMonitor): Monitor getcPU): CPU +getVideoCard: VideoCard getHardDrive: HardDrive etter for the Case etter for the Monitor Getter for the CPU etter for the VideoCard. etter for the HardDriveStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started