Answered step by step
Verified Expert Solution
Link Copied!

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:

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

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 HardDrive

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Fundamentals Study Guide

Authors: Dr. Sergio Pisano

1st Edition

B09K1WW84J, 979-8985115307

More Books

Students also viewed these Databases questions

Question

3. Describe the process of a union drive and election.

Answered: 1 week ago

Question

6. What actions might make employers lose elections?

Answered: 1 week ago