ITI 1121 Midterm: ITI 1121 University of Ottawa 2008 Midterm-en

27 views18 pages

Document Summary

For this question, there is an interface, named taxable, as well as three classes, building, resi- dentialbuilding and singleresidence. First, there is a general tax, which is a xed rate (0. 75%) times the valuation of the property. Second, there is a garbage collection tax, which is a xed amount (. 77). Thirdly, there is a tax of . 01 for a swimming pool. In java, implement the above three classes, as well as the interface. For all the attributes, create the necessary access methods. However, the objects must be immutable (a concept seen in lecture 10). Page 3 of 18: in java, implement the above three classes, as well as the interface. (27 marks) Page 5 of 18: create a static method, named tallytaxes. Its rst parameter is a reference to an array of. The second parameter is the number of occupied cells in the array.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers

Related Documents