Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

real estate rental agency. You are commissioned to develop and application for a real estate agency that specializes in renting real-estate properties (units). In the

real estate rental agency.

You are commissioned to develop and application for a real estate agency that specializes in renting real-estate properties (units). In the process of developing this application you decided to create aclass hierarchy to model rental units. The agency has three types of rental units: apartments, condominiums, and single-family houses. Each unit listedhas an address (street address, unit number if any, city, state, and zip code), building size (square footage), number of bedrooms, number of bathrooms, year built, stories, name of owner, date listed, date rented, listed rent price, actual rent price, and current status (active, contract-pending, rented). Single-familyunits have a lot size property (size of the land). Apartmentsand condos have monthly HOA management fees while single-family units have annual HOA management fees. Each apartmentunit is part of an apartmentcomplex that houses several such units (name of apartment complex and number of units in complexshould be properties).

You application should allow a real estate agent to add a new unitto the listing,change unit properties as needed, change the status of a rental property, display all units listed for rent (brief display), and display the detailed properties of a selected unit.

1. Create a class hierarchyto modelrental property units with the above specifications. You may add properties as you see fit. Make sure to provide proper initializer for each property.

2. Create a macOs program to implement theapplication described above using menu-driven interfaces. User input is entered through the keyboard and all outputs should be displayed on the console.

Bonus (10 %):When a unit is added to the listing, it is assigned a key lockboxto hold the keyof the unit's main entrance so thatother agents canhave access to the unit when they need to show it to their clients. A lockboxis unlocked using acombination code that is set by the listing agent (and shared with other agents upon request), but may also be changed from time to time. Create a class to model the behavior of a lockbox and add a lockbox property to each unit. Modify your application in Part 1 with functionality to test the lockbox class.

Deliverable:

Your source codein a text file

Screenshots showing your applcation meets problem specifications

Dem your application by the due.

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

Step: 3

blur-text-image

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

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

4th Edition

0805360476, 978-0805360479

More Books

Students also viewed these Databases questions

Question

Describe budgets and other tools for financial control.

Answered: 1 week ago

Question

=+ b. A change in weather patterns increases the depreciation rate.

Answered: 1 week ago