team lib
  1. In the PaymentStats class you added a write-only property, Accuracy . Make sure that the accuracy is applied to the FinePayable method.

  2. Try to modify the MyRectangle class so that it contains a Sides collection. This collection should contain a Side object for each of the four sides of the rectangle. The MyRectangle should create these when it is created.Each of these Side objects should have a Length property (the length of the side in centimeters, which is specified when the Height and Width properties of the MyRectangle are set) and a read-only ImperialLength property which specifies the length of the side in inches (1 inch = 2.54 cm). When you have made these modifications, you should be able to use this procedure to print the area of the rectangle and the lengths of the three sides.

  3. In the Property Let of the Rectangle and Kite classes, add checking to ensure that no negative numbers are passed in, or if they are, that you fix them before they can be used.

team lib

Beginning Access 2002 VBA
Beginning Access 2002 VBA (Programmer to Programmer)
ISBN: 0764544020
EAN: 2147483647
Year: 2003
Pages: 256

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net