Explain the relationship between inheritance and polymorphism.
Answers
Answered by
1
inheritence means to inherit or to acquire the property of any other thing or person within u
polymorphism means to reprsent a set of things in a number of different manner
for example...if i consider a word in english it may work as a veb,adverb, adjective and noun so it is showing the property of polymorphism
polymorphism means to reprsent a set of things in a number of different manner
for example...if i consider a word in english it may work as a veb,adverb, adjective and noun so it is showing the property of polymorphism
Similar questions