Beruflich Dokumente
Kultur Dokumente
Outline
In the last lecture, we continued our discussion of Overriding…
With Polymorphism, a simple but powerful concept
Form 1 : Overriding Base Class Methods and Properties.
Form 2 : The Ability of Methods to Accept ‘Related’ Classes.
And then illustrated with a generalized Multiple-JTrain Example…
That uses both ‘forms’ of Polymorphism.
We also learned the basics of creating our own custom Collections:
Similar to Collections.ArrayList, but defined by us…
By inheriting from the .NET System Class, CollectionBase.
And defined our own Collection called JTrainCollection.