Knowing data abstraction
Data abstraction is an important part of OOP- Object Oriented Programming.Herein a group of data holding members are thought of as Objects having their own behaviour and interaction protocols towards other objects and the global environment.
These objects exhibit their behaviour through functions which can access them.
So basically Abstraction is the process of hiding the information that is at work in the background. Example: A car is known as a system(object) comprising of four wheels(functions to interact with th road), a steering wheel (a function that interacts with you, the user) ... the gearstick(function that interacts with the user again), but you do not know the nitty-gritty of the complex gear system yet you can easily use it to your advantage. Now this is a working and moving example of abstraction....

0 Comments:
Post a Comment
<< Home