What is data abstraction? Elaborate with example?
Answers were Sorted based on User's Feedback
Answer / dsr
hidding unneccessary data from userdetails, is called
abstraction.
Example:TV Remote.
Buttons are cisible.circuit is not visible.(Hidden)
Is This Answer Correct ? | 104 Yes | 9 No |
Answer / mahi
Data abstraction means in simple words its nothing but we
do not represent the unnecessary details to the user.
It means if you want to take the medicine .u will use it
regarding prescription with out knowing of the details of
drugs that are used in manufacturing of the medicine
that's it
Is This Answer Correct ? | 30 Yes | 5 No |
Answer / rajashree
we noted that a procedure used as an element in creating a
more complex procedure could be regarded not only as a
collection of particular operations but also as a
procedural abstraction. That is, the details of how the
procedure was implemented could be suppressed, and the
particular procedure itself could be replaced by any other
procedure with the same overall behavior. In other words,
we could make an abstraction that would separate the way
the procedure would be used from the details of how the
procedure would be implemented in terms of more primitive
procedures. The analogous notion for compound data is
called DATA ABSTRACTION. Data abstraction is a methodology
that enables us to isolate how a compound data object is
used from the details of how it is constructed from more
primitive data objects.
Is This Answer Correct ? | 26 Yes | 22 No |
Answer / rahul,bit mesra
we could make an abstraction that would separate the way the procedure would be used from the details of how the procedure would be implemented in terms of more primitive procedures. The analogous notion for compound data is called data abstraction. Data abstraction is a methodology that enables us to isolate how a compound data object is used from the details of how it is constructed from more primitive data objects.
The basic idea of data abstraction is to structure the programs that are to use compound data objects so that they operate on ``abstract data.'' That is, our programs should use data in such a way as to make no assumptions about the data that are not strictly necessary for performing the task at hand. At the same time, a ``concrete'' data representation is defined independent of the programs that use the data. The interface between these two parts of our system will be a set of procedures, called selectors and constructors, that implement the abstract data in terms of the concrete representation
Is This Answer Correct ? | 12 Yes | 9 No |
After compilation of java program we'll get .class code. If it's generated in OS Windows XP will it work on OS Linux? If yes why? If no why?
Can inner class have constructor?
Can a class extends itself in java?
What is the difference between the prefix and postfix forms of the ++ operator?
what is an object class?Explain its methods?
class A{ some variables; public void a()throws Excepion1,Exception2{....} } class B extends A{ variables... public void a()throws E2,E3{.....} } Qns: here override of methods occurs or not,ore else wil give any compilation error or run properly..plz tell me briefly whts happening with the above codes....
What is a variable analysis?
What is a ternary operator in java? What is an interface?
What is protected in java?
What does exclamation mean in java?
We have two methods to create methods the threads. 1. Implementing runnable interface 2. Extending to thread class and overriding run method. Among these two which one is better and why? Please explain me in detail.
Does constructor return any value?