filmov
tv
66. Polymorphism in java

Показать описание
pre-requirement:
polymorohism is the ablility to take multiple forms.
it is of 2 types:
compile time - method overloading
run time - method over riding
upcasting is the mechanism in which the reference of parent class points to the objects of sub class.
java does not directly support downcasting.
if you like my video then please like share and subscribe.
polymorohism is the ablility to take multiple forms.
it is of 2 types:
compile time - method overloading
run time - method over riding
upcasting is the mechanism in which the reference of parent class points to the objects of sub class.
java does not directly support downcasting.
if you like my video then please like share and subscribe.