example of polymorphism
Answers
Answered by
2
Method overloading is an example of static polymorphism, while method overriding is an example of dynamic polymorphism. An important example of polymorphism is how a parent class refers to a child class object. ... Here, Cat satisfies the IS-A relationship for its own type as well as its super class Animal .
example, it has the form of at least the parent class and itself (a child class). A parent and his children is a real example of polymorphism.
I HOPE THIS HELPS YOU
PLEASE MARK AS BRAIN LIEST
example, it has the form of at least the parent class and itself (a child class). A parent and his children is a real example of polymorphism.
I HOPE THIS HELPS YOU
PLEASE MARK AS BRAIN LIEST
RukhTaj:
examples?
Answered by
2
method overriding is an example of dynamic polymorphism.
Similar questions
Business Studies,
6 months ago
Social Sciences,
6 months ago
History,
6 months ago
Math,
11 months ago
Computer Science,
1 year ago
Geography,
1 year ago