1whats the purpose of polymorphism? 2.Whats the purpose of Inheritance?
3.whats the purpose of Encapsulations?
Explain it.
Answers
Answered by
1
Polymorphism allows us to perform a single action in different ways. In other words, polymorphism allows you to define one interface and have multiple implementations. The word “poly” means many and “morphs” means forms, So it means many forms.
Answered by
0
Ans-1) Polymorphism allows us to perform a single action in different ways. In other words, polymorphism allows you to define one interface and have multiple implementations. The word “poly” means many and “morphs” means forms, So it means many forms.
Similar questions