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 |
total amount of milk produced each morning and then calculates and outputs the number of cartons needed for this milk , the cost of producing the milk and the profit from producing this milk.
Why the usage of pointers in C++ is not recommended ?
What is pure virtual function? Or what is abstract class?
What do you mean by function overriding & function overloading in c++?
What is a reference in C++?
Why are pointers used?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
What happens if an exception is throws from an object's constructor and from object's destructor?
What are the differences between malloc() and calloc()?
Given an array of size N in which every number is between 1 and N, determine if there are any duplicates in it. You are allowed to destroy the array if you like. [ I ended up giving about 4 or 5 different solutions for this, each supposedly better than the others ].
What is the basic structure of c++ program?
Why do we use the using declaration?