What is abstraction?
Answers were Sorted based on User's Feedback
Answer / nagababu
Hiding own nessesary data from the user it is called
Abstraction
Is This Answer Correct ? | 6 Yes | 1 No |
Answer / rajaneesh
It can be defined as the seperation of unnecessary
details or explation from system requirments so as to
reduce the complaxities of understanding requirments.
For example a person who is driving a car doesn't need to
know the mechnical works that have been done to make a
car... so what all the driver is to do is just drive.. ie
move start and stop....
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / sree
data abstraction means hiding the unneccessary part
Data abstraction is main feature of c++
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / sougata kr. chatterjee
The term abstaction refers hiding the inner processing of
data but it help for done the work in structured manner.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / azra
it is manages the complexity the real world object can be managed by the abstraction.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / solanki
Abstraction is thing which you directly not use.
like as in motor making all spare aprart are come from
differnt class which all are combined in one motor class
where we use it.
we direclty not use any only one think as tyre or petrol
for use it we want to combine that all.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / arun upadhyay
Abstraction is basically the data types,information
associated with a function,object which may not be required
by user therefore that unnecessary data is hidden from user.
e.g. int a, only data type nature is provided not about
its memory space.
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / pavitra.m.s
Abstraction refers to the attributes of an object that
clearly demarcates it from other objects.
Is This Answer Correct ? | 0 Yes | 1 No |
Answer / guest
For example, control abstraction in structured programming
is the use of ... Object-oriented programming can be seen
as an attempt to abstract both data and
Is This Answer Correct ? | 0 Yes | 2 No |
suppose A is a base class and B is the derved class. Both have a method foo which is defined as a virtual method in the base class. You have a pointer of classs B and you typecast it to A. Now when you call pointer->foo, which method gets called? The next part of the question is, how does the compiler know which method to call?
Have you ever interfaced with a database?
What is the use of unnamed namespaces in OOPS? The only advantage I know is that they dont need the scope resolution operator while accessing them. I want to know some other advantages of unnamed namespaces...
what is the use of template classes in c++
How is class defined?
What is a linked list?
Explain virtual inheritance?
what i oops concept, how many languages supports oops concept?
Which language is pure oop?
what is virtual function?
what is function overloading..?
Differences between inline functions and non-inline functions?