In genetics, polymorphism means a place in your genome (DNA) where two people can have a different letter, like A for me and C for you.
In computer science, polymorphism means when two subclasses (Rectangle and Circle) of a superclass (Shape) both are able to access the method of the superclass (draw()). This shows up in object-oriented programming languages, like Java or C++.
Comments