What is the difference between polymorphism and abstraction?
Answer Posted / Hariram
Polymorphism and abstraction are two fundamental concepts in object-oriented programming. Abstraction refers to hiding the implementation details of an object and showing only its functionality, while polymorphism allows objects to take on multiple forms and perform a single operation differently. In other words, abstraction deals with 'What' an object does, while polymorphism deals with 'How' an object does it.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category