DATA ABSTRACTION is an important concept of oops. In this, it focuses on important or essential information and filtering the background or useless characteristic of the situation or object that is no necessary for user to know.
* data abstraction is a feature of showing essential features without including unwanted details or explanation.
* data abstraction hides complexity from end users,
lets take an example of person and showing the concept of abstraction:
* when person going for his/her checkup then doctor consider a person as patient. and takes an information related to his/her disease. he is interested to know about his/her disease like syn toms of disease, name of patient, age but he is not interested in characteristic of that particular person like dress of color that he/she wear on that particular day, hobbies, color complex,etc..
*when person going for an interview then interviewer consider that person as a candidate and ask about his/her qualification and his/her interest, same as above interview does not taking interest in his/her personal information.* another one more example that is switch board
:- essential information of switch board that we need to know is switch functioning
and background information that is not required for user is connection of wires.
No comments:
Post a Comment