أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
when we have a parent interface and then there are many classes implements that interface we can use the interface as a general type for that classes that implements that interface.also the overloading and the overriding are shapes of ploymorophism also
In programming languages and type theory, polymorphism is the provision of a single interface to entities of different types.A polymorphic type is a type whose operations can also be applied to values of some other type, or types.