+ 1
Abstract
How to explain Abstract vs Polymorphism from a code? https://code.sololearn.com/W4I4sH7PA4T2/?ref=app
1 Odpowiedź
+ 1
Abstraction and polymorphism are not related. Abstraction is hiding implementation details where as polymorphism is representation of one thing in many forms. For eg- a same method can have multiple implementations.
Please remove the code that you have attached with your question because that doesn't really help your question.