What is data abstraction? How is it implemented in C++?
Answer / Vivek Kumar Dubey
Data abstraction is a process of hiding the implementation details and exposing only the necessary functionality to the user. This allows users to interact with an object without knowing its internal workings. In C++, data abstraction can be achieved using classes and objects. Classes define the structure and behavior of an object, while objects are instances of a class.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the meaning of the following declaration: int *const *const *i?
Tell us the size of a float variable.
How do you work around them?
What is an abstract class?
What do you by Function Overloading in C++?
1 Answers Akamai Technologies, Infogain,
What is wrong with this statement? std::auto_ptr ptr(new char[10]);
What is an abstract class in C++
1 Answers SwanSoft Technologies,
How will you execute a stack using a priority queue? (Push and pop should be in O (1)).
What are the advantages/disadvantages of using #define?
Briefly explain various access specifiers in C++.
Explain the operator overloading feature in C++ ?
How do you write a function that can reverse a linked-list in C++?