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.

Sample output:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!