Types of polymorphism. More than one?
I am still in college and only remember about hearing about 1 type of
polymorphism when learning about Java; however, when I was in a C# class,
I just remember my professor talking about 4 types of polymorphism.
I am only aware of subclassing and defining specific behavior within more
specific classes, and being able to call those specific behaviors with a
single method in the base class because of an interface signature.
What are the other types, and are they of as big of an importance as the
only type we were taught above? Is that why there are not taught?
No comments:
Post a Comment