What is Abstraction

What is Abstraction

Answer : Abstraction is essential element of object oriented programming. People manage big complexity through abstraction. Let’s say for example when we see car and we don’t think about its internal part which could be set of multiple individual parts and what we think is about well defined object with its own unique Beauvoir. A solid way to manage abstraction through use of hierarchical classifications. This allows you to layer the semantics of complex systems and breaking them into more manageable small pieces and this is object oriented programming heart. Below are some points about abstraction:

  • Abstraction provides a generalization which applied over a set of behaviors
  • Every method or variable is not an abstraction
  • Abstraction keeps you focus on what the object does instead of how it does it
  • Abstraction is a technique to providing generalization and so a common way to work with objects of vast diversity

What is Abstraction

Leave a Reply

Your email address will not be published. Required fields are marked *