Monday, July 30, 2012

Not yet sure what I Inherited

I read through chapter 18. It reinforced what I learned about Inheritance in the Kochan book. So far, so good. I am a little stuck on the challenge but a good night's sleep should help it along. The fact that the challenge said to add a few instances of ForeignStockHolding to my array leads me to believe that Hillegass is expecting some new entries. Now that I think of it, if I give complete sets of new entries, I should be OK. We'll see tomorrow.

I am also not very happy about my limited amount of time spent on the book today. However, I am on page 114, not too far from halfway.

ADDENDUM: I could not reconcile a way to copy all the objects from StockHolding class directly into the ForeignStockHolding class so I ended up setting up on ForeignStockHolding class and invoked the methods for each instance variable.

No comments:

Post a Comment