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 the difference between property and instance variable?
Can objective c run on windows?
How we can layout subviews in a view?
What is the difference between typedef and enum?
Which language does apple use?
Explain the types of protocol?
What is toll-free bridging? When is it useful?
What are the main objectives of training?
What happens when you create a block?
What is responder chain?
What does nonatomic mean?
What’s the contrast between active, inactive, not-running, background and suspended execution states?