POLYMORPHISM IN PHP | OOPS IN PHP

Publicado em: 01 Abril 2020
no canal de: learners adda
15
0

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


Nesta página do site você pode assistir ao vídeo on-line POLYMORPHISM IN PHP | OOPS IN PHP duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário learners adda 01 Abril 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 15 vezes e gostou 0 espectadores. Boa visualização!