Summary


This chapter showed how you can use polymorphism to cause different objects to respond differently to the same message. This ability to have generic object messages cause objects to respond differently means that you can tailor the behavior of each object to the needs at hand. In this chapter you have seen how you can provide common calling conventions to different types of objects by using the Implements keyword to create polymorphic interfaces for class objects. Such interfaces provide an easy way to define common method and property calling across different classes of objects.



Visual Basic .NET. Primer Plus
Visual Basic .NET Primer Plus
ISBN: 0672324857
EAN: 2147483647
Year: 2003
Pages: 238
Authors: Jack Purdum

Similar book on Amazon

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