what is data Abstraction? and give example
Answers were Sorted based on User's Feedback
Answer / prathiba
data abstraction is a process of representing the essential
features without including implementation details.
| Is This Answer Correct ? | 1531 Yes | 140 No |
Answer / karthick
Abstraction is the process of exhibiting only the essential
characteristics of an object depending on programmers
view.It is complement to encapsulation.
| Is This Answer Correct ? | 359 Yes | 101 No |
Answer / guest
data abstraction is the process of representing essential
details not including inter nal details.example index of
the book
| Is This Answer Correct ? | 281 Yes | 50 No |
Answer / namitha
Data abstraction refers to, providing only essential
features by hiding its background details.
example:
class result
{
int marks;
float percentage;
char name[20];
void input();
void output();
}
main()
{
bank b1;
b1.input();
b1.output();
}
in the above example, b1 is an object calling input and
output member functions, but that code is invisible to the
object b1.
| Is This Answer Correct ? | 263 Yes | 58 No |
Answer / m.harikrishnam raju
It refers we can represents essential features without
including background details and explanations
ex:
index of text book.
class School
{
void sixthclass();
void seventhclass();
void tenthclass();
}
| Is This Answer Correct ? | 205 Yes | 69 No |
Answer / pintu gupta
in oops the data abstraction is defined as represent
essential features without including background details or
implementation details.class use the concept of data
abstraction.
| Is This Answer Correct ? | 135 Yes | 49 No |
Answer / vishwajit kumar
data abstraction is a process of representing the essential
elements,hiding the back ground details.
| Is This Answer Correct ? | 95 Yes | 27 No |
Answer / deepak
DATA ABSTRACTION MEANS ESSENTIAL FEATURES WITHOUT GIVING
THE BACKGRAOUND DETAILS
| Is This Answer Correct ? | 73 Yes | 26 No |
Answer / m.arul
Data abstraction is a process of representing the essential
features without including background properties(or)
implementation details.
| Is This Answer Correct ? | 67 Yes | 21 No |
Answer / prakash
simply hiding implementation details and show what ever the
client programmer needs. there are two programmers in
devolopint the project Class Creators (who create new
datatypes) and client programmers (class consumers who use
data types in their applications).
It is helpful to break up the playing field into class
creaters and client programmers. The goal of the client
programmer is to collect a toolbox full of classes to use
for rapid application devolopment. The goal of the class
creator is to build a class that exposes only whats
necessary to the client programmers and keeps everything
else hidden. why because the client programmers cant use it
which means that the class creatior can change the hidden
portion at will without worrying about the impact to anyone
else. The hidden portion usually represents the tender
insides of an object that could easily be corrupted by a
careless or uninformed client programmer so hiding the
implementation reduces program bugs.
It is acheived in c++ through class boundaries (private
public and protected keywords...)
ex: class Light
{
private:
//data
public:
on();
off();
//.....
};
Light lt.on();
| Is This Answer Correct ? | 63 Yes | 17 No |
What return value must conversion operators have in their declaration?
How long it will take to learn c++?
Explain the concept of inheritance in C++.
What is a literal in c++?
Suppose that data is an array of 1000 integers. Write a single function call that will sort the 100 elements data [222] through data [321].
What is abstraction with real time example?
Do class declarations end with a semicolon?
Write a C++ program that asks the user to choose a number between 1 and 1000. Then, your program should be able to guess the number by asking the user no more than 10 yes/no questions. Use a while loop in your program
Adobe Interview & Adobe Placement Paper
How should a contructor handle a failure?
When should I use unitbuf flag?
What is insertion sorting?