what is data Abstraction? and give example

Answer Posted / tamilarasan

A data abstraction is a simplified view of an object that includes only features one is interested in while hides away the unnecessary details.
eg: creation of object from its class.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is c++ awesome?

572


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

584


Why is main function important?

583


Define friend function.

566


How would you use the functions memcpy(), memset(), memmove()?

622






Is atoi safe?

591


Describe private, protected and public?

597


What is a linked list in c++?

540


How to declaring variables in c++?

657


What is encapsulation in C++? Give an example.

582


Explain the problem with overriding functions

602


Is there finally in c++?

617


How can you tell what shell you are running on unix system?

637


What is a constructor and how is it called?

591


Can recursive program be written in C++?

629