What is abstraction?

The process of hiding essential details is known as abstraction.
Abstraction has 2 types, they are


1.      Data abstraction:
                        We know that there will be some kind of data and we can express
              Eg: vehicle engine no, chasis no


2.      Functional abstraction:
          We can feel the behavior of an action but we cannot express what exact process going inside the method.
Eg: Applying acceleration and breaks to the vehicle.

No comments:

Post a Comment