What is the difference between polymorphism and abstraction?
Answer / 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 |
What is extern objective c?
What is dealloc?
What is objective c and swift?
What are the 5 performance objectives?
What is difference between datasource and delegate?
What are the size classes?
Is objective c deprecated?
What is protocol in simple words?
What is differences between nsnull and nil in objective c?
Can protocols have properties?
What is a goal and objective?
How do you write an objective statement?