+ 1
what is the abstraction
i can't understand
5 Respuestas
+ 13
what is the 'what is the abstraction'
+ 2
Loosely speaking, abstraction makes intricate and complicated things become easier to use or understand.
For example, classes are abstraction of real life entities. It hides away the underlying details of its structures and just provides you with the interface to use it. Another example is programming language. A high level programming language hides aways the intricacies of machine language. You just use an human readable language to instruct the computer instead of using binary code.
You can see a lot of abstraction in the world of computing: the operating system is the abstraction of the computer, device drivers are abstraction of computer components, and many more :)
+ 2
Data abstraction is a concept of providing only essential info of the outside wrold. It gives only essential features without vast implementation.
Consider a book. When that word come into ur mind u hv no idea about its summery or page or color. But u hv concept or idea about a book
Abstraction allow u to write a single bank account class and then create a different object based on that
+ 1
Abstraction refer to the act of representing essesntial features without including background detail.
In other words we can say that we are interested to know only some lesser detail or overview instead of greater detail
for example if we want drive car then we only interested to know that how to start the car and go ahead , we don't want to know what is its internal mechanism of change of gear or how power coming to run the car, how car being started electricly....like that.
0
means
we say OS
we don't know it's Linux or Unix or Windows
so OS is the abstraction of them.
and we select Windows
we don't know it's 95 98 xp 7 8 10
so Windows is the abstraction of them
is it right?