Question
JAVA: Address -street:String -city:String -state:String -zip:int Owner -name:String -propertyList:Property[5] -count:int +addProperty(Property p):void +getPropertyList():Property[] Property -address:Address -marketValue:double +calculateTax(double taxRate):double taxRate is a whole number; and is
JAVA:
Address
-street:String
-city:String
-state:String
-zip:int
Owner
-name:String
-propertyList:Property[5]
-count:int
+addProperty(Property p):void
+getPropertyList():Property[]
Property
-address:Address
-marketValue:double
+calculateTax(double taxRate):double
taxRate is a whole number; and is 8
The Owner constructors do not set the propertyList.
There is no setPropertyList.
Write the classes according to our coding standards.
Complete the UML for each class.
PropertyTest program will declare an array of Owners[2]. You will use the following data
in a 2-D string array to create customers and add property to their propertyList.
The following data will be in a String array and used to create customers and property.
Jones
123 Mitchell
Arlington, Texas 76019
$120,000
Smith
61 Bose Lane
Dallas, Texas 75002
$310,000
Jones
2500 West Seventh St
Fort Worth, Texas 76015
$575,000
Smith
1225 Green Rd.
Euless, Texas 76000
215,500
Then, walk through the Owners array and calculate the property taxes and print to a dialog box.
UML.pptx, Address.java, Owner.java, Property.java, and PropertyTest.java
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started