Implement a real estate presentation center

Assignment Help Basic Computer Science
Reference no: EM13752970

Problem:
Write programs to implement a Real Estate Presentation Center that shows no more than 50 houses.

Your Task:
1. Create a class called "House" that includes
a) Private attributes: "houseID","price","size","address"
b) A constructor that sets all attributes
c) A method called "changePrice"that changes the price of the house.
d) A method called "pricePerSqft"that returns the house price for each square foot.
e) A method called "toString" that shows the houseID, price, size and the address in a
single line.

2. Create a class called "TownHouse"that is a subclass of "House". Your class should include the following.
a) An additional private attribute: MonthlyMaintenanceFee
b) A constructor that sets all attributes.
c) A method called "toString" that returns a String that shows the houseID, price,
size, address and MonthlyMaintenanceFee in a single line.

3. Create a class called "RealEstatePresentationCenter" that can be used to store, change and show the housing information. Your class should include the following.
a) Private attributes"listingHouses"and "houseCount"
b) A contractor
c) A method called "addHouse"that adds a house to "listingHouses".
d) A method called "getLowestPricePerSqft" that returns a String that represents
the information of the house with the lowest price for each square foot in the
presentation center.
e) A method called "averageHousePrice" that returns the average house prices.
f) A method called "showAllHouses" that takes returns the information of all
houses in the presentation center.

4. Create a class called "RealEstateTest.java"that tests House.java, TownHouse.java, and RealEstatePresentationCenter.java. You should add several houses and townhouses to the listinghouses, change house prices and test the other methods you implemented. 

Reference no: EM13752970

Questions Cloud

What advice would you give john regarding this transaction : Roth IRA's are popular deferred compensation plans because they offer tax- free distributions. As a tax preparer or CPA, you will have clients who turn to you for retirement advice. You need to know how to conduct the necessary research to give your ..
What motivated cromwells political and military actions : What motivated Cromwell's political and military actions? What was Edmund Ludlow's criticism of Cromwell, and how did Cromwell respond?
Prepare a multiple-step income statement : Accounts payable 60,000. The amount of income taxes applicable to ordinary income was $56,700, excluding the tax effect of the earthquake loss, which amounted to $24,000. Instructions: Prepare a multiple-step income statement.
Saving money at the cost of the environment : All types of industries; whether big or small generate hazardous wastes. But there are some companies which try to get rid of their dangerous waste by simply dumping it illegally. All for saving money at the cost of the environment.
Implement a real estate presentation center : Write programs to implement a Real Estate Presentation Center that shows no more than 50 houses.Your Task:1. Create a class called "House" that includesa) Private attributes: "houseID","price","size","address"b) A constructor that sets all attributes
Identify an internal control method : Information technology can greatly enhance the processing of transactions and distribution of output from AIS. For the Revenue, Expenditure, and Human Resources / Payroll cycles, identify at least three specific ways (tools) that information technolo..
Explain the components of conducting external analysis : Explain the process and components of conducting External Analysis. What are the sources that you will use for conducting External Analysis? List 5-10 sources
Medium-sized software house : Martin Adams, an experienced project leader at David's Software Ltd., a medium-sized software house, has been appointed project leader for the development of an advanced help desk software system for a leading home appliance maintenance service. This..
Manufacturing cost of goods sold is anticipated : Flip manufactures footballs. The forecasted income statement for the year before any special orders included sales of $4,000,000 (sales price is $10 per unit.) Manufacturing cost of goods sold is anticipated to be $3,200,000. Selling expenses are exp..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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