Make an efficient object-oriented java application

Assignment Help Computer Engineering
Reference no: EM1329404

Create an efficient Object-Oriented Java application that maintains information about college roommates who are renting a house together, for their realtor.

When a house is chosen by the roommates, the user will provide information for it. To allow extensibility, a house object can be created with no information available, the address of the house only or the address of the house, monthly rent and security deposit.

The House class definition should include following instance variables:
- Address
- Number of roommates
- Monthly rent
- Security Deposit

The above class definition should also include following instance methods:
- Validating mutators for the numeric instance variables that are to receive values from the user (including monthly rent - must be between the minimum of $400 and the maximum $2500, and the security deposit - must be between $250 and the monthly rent of the house)
- addARoommate(), that will allow the user to include an additional roommate on the lease (not to exceed the 4 roommate limit - this is a maximum imposed by the realtor for any house)
- Accessors for the instance variables, as well as a toString() method to gather all pertinent information.
- Amount owed by each roommate for individual monthly rent
- Amount owed by each roommate for the entire 12 month lease (which includes their portion of the Security Deposit)

The Realtor application that implements the class described above should prompt the user for the house's address, monthly rent and security deposit. Then the application should process as many roommates (up to 4) the user chooses. The output should include the information on the house (Address, Monthly Rent, and Security Deposit and Total Yearly Income) as well as the number of roommates and their monthly and total financial obligation.

Only one house object is to be manipulated by the application.

Reference no: EM1329404

Questions Cloud

Explain how are people worse off when the price rises : Explain how are people worse off when the price level rises as fast as their incomes
Explain technological workforce : Explain Technological workforce and explain why these issues are important and provide specific recommendations to accomplish each of the points effectively
Increasing company''s market share : Increasing your company's market share is a great way to increase your sales, improve customer and brand loyalty, and reduce your competition.
Determining the future and present values : Write down the advantages and limitations of financial management of future and present values of money, annuities, interest rates, uneven cash flow, and amortization?
Make an efficient object-oriented java application : while a house is chosen by the roommates, the user will give information for it. To allow extensibility, a house object can be created with no information available, address of the house only or the address of the house, monthly rent and security d..
What are some of functional strategies : What are some of functional strategies that affect the supply chain and Meaning what functional organizations affect it? Perhaps the supply chain should direct how the functional organizations operate? What do you think?
Law banning the late-term abortions : Would congress be able to pass a law banning late-term abortions? Why?
Elucidate why does the fed like to fight inflation : Elucidate why does the Fed like to fight inflation in our economy and is inflation a concern right now given our current economic situation.
Finance future value or present value : Calculate the equal annual deposits that you must make for the next 25 years( with the first deposit occurring one year from today) to achieve your desired retirement flow.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Activity diagram and a use case diagram

AREI real estate agents utilize its information in order to search AREI’s database and the different listing service for houses which meet their needs.

  When an entity has the relationship to itself

The presence of one or more foreign keys in a relation prevents. When an entity has a relationship to itself, we have a?

  Utilize routers for connectivity devices instead of hubs

Utilize routers for connectivity devices instead of hubs

  Developing the secure dmz environment

You will require developing a secure DMZ environment in order to accomplish this task. Generate a drawing of this environment utilizing the Power point, and display the following interconnected elements.

  Describes a function named insidecircle

Describes a function named insideCircle

  Clear standards are important as developing a website

can you please list the reasons why using clear standards are important when developing a website. In what areas should these standards be applied.

  Program is re-written so it requires less memory

Cache misses are classified into one of three categories - compulsory, capacity, or conflict.

  How to adapt for large-scale transnational it projects

What aspects of your project communications planning would you adapt for large-scale transnational IT projects in that the project teams and other stakeholders are geographically dispersed (say in India, Canada, China and Brazil) and having differ..

  Write down a program that has a function named presentvalue

Write down a program that has a function named presentValue

  Reducing the cost per bit transmitted in lans or wans

Systematic and the logical storage of electronic files.specify if reducing the cost per bit transmitted more significant in the LANs or WANs.

  Breach of security

A company has the resource XYZ. If there exist a breach of security, company may face a fine of $100,000 and pay other $20,000 in order to clean up the breach.

  Face-to-face contact would be expected

Some though argue that non-verbal clues quite often inhibit, rather than enhance, communications. We get distracted by accents, appearance, mannerisms, dress-style etc, and do not pay sufficient attention to the message being delivered. If that is..

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