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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 22:30, enazer
Type the correct answer in the box. spell all words correctly. what kind of graph or chart does this image represent? the given image represents a (blank).
Answers: 2
image
Computers and Technology, 22.06.2019 01:00, joedawg50
What is added to the < meta > tag to describe the encoding type?
Answers: 1
image
Computers and Technology, 22.06.2019 20:00, bowmanari2154
What is used to analyze and summarize your data without graphical support
Answers: 1
image
Computers and Technology, 22.06.2019 22:30, kierafisher05
What is the most popular genre of video games?
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 in other subjects:

Konu
Mathematics, 19.02.2021 18:40
Konu
Mathematics, 19.02.2021 18:40