what is data Abstraction? and give example

Answer Posted / santosh kumar

Abstraction is one of the most powerful and vital features provided by object-oriented programming language. Modularity is very important in any programming language, it provides flexibility to users for using the programming language. This aspect is well achieved with high performance by the concept of abstraction. In object-oriented programming language the programmer can abstract both data and code when needed.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is java and c++?

658


Differentiate between a constructor and a method in C++.

554


Difference between pointer to constant and constant pointer to a constant. Give example.

637


What is the best book for c++ beginners?

566


What is the identity function in c++? How is it useful?

547






How do you find out if a linked-list has an end?

643


Name four predefined macros.

592


What is c++ redistributable?

617


What is a constructor in c++ with example?

576


Write a short code using c++ to print out all odd number from 1 to 100 using a for loop

582


What do you mean by public protected and private in c++?

597


What is ifstream c++?

553


What are the advantages of c++ over c?

580


To which numbering system can the binary number 1101100100111100 be easily converted to?

603


What is the best ide for c++?

565