Write a base class to hold basic computer information

Assignment Help Computer Engineering
Reference no: EM13323274

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.

 

Reference no: EM13323274

Questions Cloud

Create a temperature demo program : Make sure you take no input in this class and that it does not contain a main method.
Determine the pressure at the bottom of the tank : A large tank of water is full and has a depth of 10.0 m. What is the pressure at the bottom of the tank
Determine the pressure exerted on the floor by each leg : A 4.5-kg, three legged stool supports a 68-kg person. If each leg of the stool has a cross-sectional diameter of 3.0 cm, determine the pressure exerted on the floor by each leg
Determine the power required to run the compressor : Helium (Hrom an intie) at a rate of 1.5 lbm/s is compressed inan adibatic compressor from an intial condition of 70 F, 14.7 Psiato final condtion of 1070 F, 147 Psia. Determine The power required to run his compressor
Write a base class to hold basic computer information : Write a class that inherits the computer class for Windows computers.
Draw on relevant theoretical and management concepts : Draw on relevant theoretical and management concepts covered through the course and describe the problem or issue and critically analyse the issue including considerations of relevant policy and ecological factors
Estimate the depth change in the lake in feet during 1-year : The evaporation rate from the surface of a 3,650-acre lake is 100 acre-ft/day. Estimate the depth change in the lake in feet during a 1-year period if the net inflow to the lake is 25 cfs. Is the depth increasing or decreasing
Estimate the wavelength of the light : A double-slit apparatus consists of two of slits separated by 0.25 mm with a screen 5.0 cm away. Calculate the wavelength of the light
Does requested calculation and displays appropriate result : Assume the existence of the following Java GUI application. There are two text fields for user input. The first JTextField variable is named voltage and is used to input a voltage value in volts.

Reviews

Write a Review

Computer Engineering Questions & Answers

  How to calculate the area of a circle

Your employer has requested the development of a software application to compute the area of a circle. The application must accept only one value (i.e., the radius), and it must display the result in decimal value.

  Service is used to automatically assign ip addresses

explain an IP address. Describe Class A, B, and C networks. Are a MAC address and an IP address the same thing? What network service is used to automatically assign IP addresses? Describe the four steps of the IP address lease process.

  Create a program that reads an exchange rate

Write a program that reads an exchange rate for converting English currency to U.S. currency and after that reads several values in English currency and converts each amount to the equivalent U.S. currency.

  Are there any other examples of famous projects

Are LANs a stable technology or are they changing just as fastly as other forms of communication technologies?

  What are an ethical dilemmas associated

What are the ethical dilemmas associated with using facial recognition software? Is this kind of software any different from a store asking to see your drivers license when you use your credit card.

  Explain the action of the function

Describer the action of the function. What is the function in the library that performs a similar calculation.

  Why should assembly language be avoided

Why should assembly language be avoided for general application development? Under what ciscumstances is assembly language preferred ir required?

  Security issues while users processing the database

Describe the security issues which may be encountered when the multiple users process the database concurrently.

  How usability and software quality are related to each other

how usability and software quality are related to each other. What do you feel are some of the main design issues as related to the human factors characteristics of a GUI.

  Declaring and intializing the array

Describe an ArrayList named taxRates of the five elements of type Double and initialize the elements (starting with the first) to the values 0.10 , 0.15 , 0.21 , 0.28 , 0.31, respectively.

  Identify the test objectives and test approaches

A typical download takes one hour, and an interrupted download must be restarted from the beginning. The number of customers downloading at the same time ranges from 10 to 100 throughout peak hours. On average, your system could go down about once..

  What is role of risk assessment

What is role of risk assessment

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd