answersLogoWhite

0


Best Answer

Data abstraction is a design concept, whereby interfaces and implementations are kept separate. That is, it should not be necessary to know how an object works in order to use it. The interface provides all you need to know.

This reflects much of real life. When watching TV, you have a remote control which allows you to select a channel, but it is not necessary to know how the TV receives and processes radio signals, nor how it separates one channel from another. Those are implementation details that are only of concern to TV engineers.

In C++, there are no statements as such to implement data abstraction. You achieve it by designing a public interface which is accessible to normal users, and a private interface that is only accessible to the class designer.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

7y ago

No. All data in C is public so it's not actually possible to provide true data abstraction.

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

No. C does not support abstraction. C++ does.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What c plus plus programming statements to implement data abstraction?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is abstraction in visual basic?

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 selectorsand constructors, that implement the abstract data in terms of the concrete representation. To illustrate this technique, we will consider how to design a set of procedures for manipulating rational numbers.bimzz


What is the difference between data hidding and data abstraction?

Abstraction: Abstraction refers to removal/reduction of irrelevant data or unnecessary data or confidential data from a Class. Data hiding: Data hiding is a feature provided by the abstraction for hiding the data from the class.


What is the difference between modular programming and structured programming.?

Modular programming:It is the act of designing and writing programs as interactions among functions that each perform a single well defined function,& which have minimal side effect interaction between them.It is heavily procedural.The focus is entirely on writing code(functions). Data is passive.Any code may access the contents of any data structured passed to it. Object Oriented programming:it is a programming paradigm using "objects"-data structures consisting of data fields & methods together with their interactions-to design applications and computer programs.programming techniques may include features such as data abstraction,encapsulation,messaging,modularity,polymorphism and inheritance.


Explain The merits of using a deque to implement a stack in data structure?

Explain The merits of using a deque to implement a stack in data structure


Why is Java called an Object Oriented Programming Language?

Actually java is not purely object oriented.because we can use the primitive data types in Java.In java all those things or considered as classes and objects .So we are called java is an object oriented programming language...

Related questions

Assumptions of 2 phase commit protocol?

to implement real-world entities more and more in computer language and to protect datas we require c++.c++ is basically an object oriented programming language.there are special features which are not present in c such as data encapsulation,data abstraction,polymorphism,inheritance etc.by encapsulation ,we can bind different data types in single unit.by data abstraction ,we can protect our datas.by polymorphism ,we can overload an operator.and by inheritance,we can inherit the properties of the base class.


What has the author Reinhold Friedrich Hille written?

Reinhold Friedrich Hille has written: 'Data Abstraction and Program Development Using Modula Two' 'Data abstraction and program development using Pascal' -- subject(s): Abstract data types (Computer science), Computer programming


What is data abstraction and data hiding in oops concepts?

abstraction is show nonessential data to user ,


What does object oriented programming -- OOP -- focus on?

Object oriented programming is focused on data abstraction and being able to treat things more like they're complete objects rather than individual pieces of data and code.


What is data abstraction?

Data abstraction is the reduction of a body of data to a simplified representation of the whole. Data abstraction is usually the first step in database design in order to create a simplified framework that can be added to in order to complete the database.


What is abstraction in visual basic?

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 selectorsand constructors, that implement the abstract data in terms of the concrete representation. To illustrate this technique, we will consider how to design a set of procedures for manipulating rational numbers.bimzz


What is abstraction in Object Oriented Programming?

Abstraction, not only in OO, in programming in general, is to present a group of concepts in very short sentence, sometimes just a word, to exchange idea.When using 1 word to present some concepts and behaviors, they are easily translated into a class (from a noun), a data member (a noun as well), or a function (a verb) in OO!!A program, that word is an abstraction to tell you that a piece of software is executable (but where, how and what it does are expressed in that word or idea)Another way to look at Abstraction: You know what it represents, but you don't know what it is exactly, that "abstraction" is an excellent one.


Is data hiding and abstraction are same?

no


What is the first no for sialkot?

Data structure is related to the algorithm, ie solution of the requirements.whereas Data Type is component of a programming language, which can be used to implement the required data structure (organization of data and format).For example if the requirement say that a LIST is required, and in C programming language , there is not LIST data type BUT LIST CAN BE REALISED(IMPLEMENTED ) in C.


Some important features of java programming?

The important features of Java are the ones that relate to the object oriented concepts like: a. Inheritance b. Polymorphism c. Encapsulation d. Data Hiding e. Data Abstraction etc


What are the duties of data abstraction clerk?

health


What is the difference between data hidding and data abstraction?

Abstraction: Abstraction refers to removal/reduction of irrelevant data or unnecessary data or confidential data from a Class. Data hiding: Data hiding is a feature provided by the abstraction for hiding the data from the class.