O'Reilly logo

Microsoft® Visual Basic® 2010 Developer’s Handbook by Klaus Löffelmann and Sarika Calla Purohit

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Polymorphism

You’ve now learned a lot about inheritance and overriding of class members. So, how can you put those techniques to use? For inheritance and function overriding to make complete sense, you use a technique called polymorphism.[14] If you asked me to describe polymorphism in one sentence, I would ask you to wait, and then give you the following answer: “Polymorphism in OOP describes a possibility for exchanging methods or properties in the classes of a class inheritance hierarchy, and to be able to reach a method that has the same name, but different functionality, of the modified classes in the inheritance hierarchy via the same object variable of the type base class dependent on the actual instantiated derived class.”

Phew!

I realize ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required