Tech News

What is Abstraction? Why we use it?

Abstraction which denotes/shows the essential characteristics of an object which distinguish it from all other kinds of objects.

Ex. Consider a person details.

Doctor needs || Interviewer needs
>name of patient || >name of candidate
>age of patient || >Qualification of candidate
>height || >Result
>Blood pressure || >Skills etc.
>weight
etc.


Both of above doctor and interviewer needs the information of person but with different aspect.


The answer should be Abstraction as it allow to show only relevant info. And not the detail part.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x