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

  Suggest a fragmentation design of the account relation

Suggest a fragmentation design of the Account relation

  Produce a state transition diagram

Produce a state transition diagram

  Find out if they can be formed into a triangle

Write down a JavaScript program that allows a user to input three integers using text boxes in a form. (Hint: You need to use the built-in parseInt function to convert the input strings to integers.) Test the three integers to determine if they ca..

  What levels of osi model tcp/ip functions

Use short answers to define the difference (including the advantages and disadvantages of) between.

  What are examples of databases in current

What is a federated database and why are federated databases becoming increasingly common? What are examples of databases in your current or previous work environment that could be federated.

  Cost estimate for the topliance corporation

You have already generated a project charter, a project schedule, and the cost estimate for the TopLiance Corporation, which sells home appliances. They have over 50 sales agents across multiple states.

  Explain about doing ethics technique

The Doing Ethics Technique (DET), ensuring you address each of the DET questions and relating specific clauses from this code to the ethical issue/s, you have identified.

  How can sophie use applocker

How can Sophie use AppLocker.

  Consider a design tool used in the construction

How is web content developed? What are some of the popular design tools in use today? Can you identify a design tool used in the construction of the website MSN.com.

  Suppose that the user will enter only a single digit

suppose that the user will enter only a single digit. Write down C program to display in words what number is entered when a single digit is entered.

  Evaluating the post fixed expression

Approximate the post fixed expression a) Initialize an empty stack. While there exist more symbols within postfix string { b) If token is an operand, push it onto the stack. If token is an operator

  What may cause the loss of one control file

Why must a business have its database in ARCHIVELOG mode?

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