what is data Abstraction? and give example

Answer Posted / keshav.gadde

It is a mechanism to create new data types that include
several related operations to be performed on it and
attributes to suit the require ments of an application.In C++
class are written to prepare ADTs(Abstract data types)

Is This Answer Correct ?    19 Yes 38 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the best ide for c++?

797


Can we change the basic meaning of an operator in c++?

861


What is time_t c++?

808


What are the advantages of using const reference arguments in a function?

841


What is enum class in c++?

933


Explain public, protected, private in c++?

755


How do you declare A pointer to a function which receives nothing and returns nothing

946


What is a wchar_t in c++?

814


When should we use multiple inheritance?

805


what does the following statement mean? int (*a)[4]

820


What are c++ variables?

788


How do you remove an element from a set in c++?

823


What are the two types of comments, and how do they differ?

786


program explaining feautures of c++

2171


I was a c++ code and was asked to find out the bug in that. The bug was that he declared an object locally in a function and tried to return the pointer to that object. Since the object is local to the function, it no more exists after returning from the function. The pointer, therefore, is invalid outside.

823