Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

Define Polymorphism concept of OOP.

user-image
Question ajoutée par Basel Hartany , Sr. Customer Success Manager , Mnasati
Date de publication: 2014/04/28

Polymorphism stands for manifestation of different behaviors by objects of classes implementing same interface. A real life example would be our home electrical appliances all of which have a chord that can be plugged into an electrical socket (this chord would be the interface); but when we turn them on (a function accessible on the object) they exhibit different behaviors.

Abdullah Thabit
par Abdullah Thabit , IT Solution Designer / System Administrator , Alawwal Bank

polymorphism is the ability by which, we can create functions or reference variables which behaves differently in different programmatic context.

polymorphism means in a simple way "many forms" in which an ability to change more than one form.

More Questions Like This

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?