subject

In java create a home inventory class that will be used by a national builder to maintain inventory of available houses in the country. the following attributes should be present in your home class: private int square_feetprivate string addressprivate string cityprivate string stateprivate int zip_codeprivate string model_nameprivate string sale_status (sold, available, or under contract).your program should have appropriate methods such as: constructoradd a new homeremove a homeupdate home attributes. all methods should include try..catch constructs. except as noted, all methods should return a success or failure message (failure message defined in "catch").create an additional class to call your home class (e. g., main or homeinventory). include a try..catch construct and print it to the console any errors. call home class with parameterized constructor (e. g., "square_feet, address, city, state, zip_code, model_name, sale_status").then, call the method to list the values. loop through the array and print to the screencall the remove home method to clear the variables: print the return value. add a new home. print the return value. call the list method and print the new home information to the screen. update the home (change the sale status).print the return value. call the listing method and print the information to the screen. display a message asking if the user wants to print the information to a file (y or n).use a scanner to capture the response. if "y", print the file to a predefined location (e. g., c: \temp\home. txt). note: you may want to create a method to print the information in the main class. if "n", indicate that a file will not be printed.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 21:30
Apower user needs you to install a second type of operating system on his computer to increase efficiency while running some specialized software programs. which installation technique should you use?
Answers: 3
question
Computers and Technology, 22.06.2019 19:30
Singing in the rain: this first part of the film shows the early history of motion picture. how accurate do you think the portrayal of the early motion picture industry is? why? is historical accuracy important in films and theater productions? explain.
Answers: 1
question
Computers and Technology, 23.06.2019 16:00
Helen is having a meeting with her colleagues in her company. they are working on the goals and objectives for the coming year. they want to ensure that these goals and objectives of the processes involved are properly evaluated. which system can helen and her colleagues apply to evaluate this? helen and her colleagues require a blank to evaluate the goals and objectives.
Answers: 2
question
Computers and Technology, 24.06.2019 13:30
What is the most important for you to choose before you build a network?
Answers: 1
You know the right answer?
In java create a home inventory class that will be used by a national builder to maintain inventory...
Questions
question
Mathematics, 11.02.2020 20:03
question
Mathematics, 11.02.2020 20:03
Questions on the website: 13722367