Polymorphism in PHP
-------------------
This word is can from Greek word poly and morphism.
Poly means “many” and morphism means property which
help us to assign more than one property.
or
One name having different forms is called polymorphism
types of polymorphism
---------------------
--function overloading
--Overloading Same method name with different signature,
since PHP doesn’t support method overloading concept
for example
function area($x,$y); // it contains two argument
function area($x); // it contains one argument
--function overriding
-- Overriding When same methods defined in parents and
child class with same signature i.e know as method
overriding
-- in function overriding everythig must be same means
function name as well as no of arguments
Auf dieser Seite können Sie das Online-Video POLYMORPHISM IN PHP | OOPS IN PHP mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer learners adda 01 April 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 15 Mal angesehen und es wurde von 0 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!