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

  Create your own function that accepts one input parameter

Using Pseudocode, create your own function that accepts one input parameter and returns a float number. You decide the theme.

  Function prototypes lack parameters

These function prototypes lack parameters; add whatever parameters you feel are necessary so that the program works without global variables. The program's output should reflect the bus's actions by reporting each change in state, along with the n..

  How to make system more user-friendly

What improvements or additions to the system do you believe would advantage you or make system more user-friendly? Why?

  Write a reference based implementation of a queue

Write a reference based implementation of a queue that uses a linear linked list to represent the items in the queue

  The opportunity to do analysis on the data

Task Background: Graphs and trees provide you with ways to visualize data sets, and the opportunity to do analysis on the data (e.g., shortest path). Knowing the structure of a database enables you to choose a proper algorithm for searching for..

  Explaining leverage data from across enterprise

Many companies have executed ____________ to enable managers and knowledge workers to leverage data from across enterprise.

  Project 2 this assignment consists of two 2 sections a

this assignment consists of two 2 sections a business requirements document and a gantt chart or project plan. you must

  Design an algorithm that prompts the user to enter a number

Design an algorithm that prompts the user to enter a number in the range of 1 through 100 and validates the input.

  Create a website registration form to obtain

Create a website registration form to obtain a user's first name, last name, and email address. In addition, include an optional survey question that asks the user's year in college (e.g., Freshman). Place the optional survey question in a details..

  The gorilla robot wants to play

The Gorilla Robot Wants to Play

  Examine work-related project using systems analysis

Create 4-6-page paper which examines work-related project which used systems analysis for selected business system at department or division level.

  What is the relationship between transistor densities

In two paragraphs explain what is the relationship between transistor densities and the improvement in computer speed and miniaturization?

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