Late binding against polymorphism - what's the difference?

I have seen both use interchangebly, but do they really mean the same thing? In my opinion, polymorphism is stretched by the fact that you can exchange an instance of a class with an instance of a subclass, and Late Binding means that when the instance method is called, the type decides which method (subclass / superclass) is called.

+7
polymorphism oop late-binding
source share
1 answer

Wikipedia has a very good article on this:

http://en.wikipedia.org/wiki/Polymorphism_in_object-oriented_programming

Summary: Late binding is a way to realize polymorphism.

+4
source share

All Articles