Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is data Abstraction? and give example

Answer Posted / abhay shukla

ata abstraction is a process of representing the essential
features without including implementation details.


example:
class result
{
int marks;
float percentage;
char name[20];
void input();
void output();
}

main()
{
bank b1;
b1.input();
b1.output();
}

in the above example, b1 is an object calling input and
output member functions, but that code is invisible to the
object b1

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is new() different from malloc()?

1119


How the keyword struct is different from the keyword class in c++?

1037


What is virtual function? Explain with an example

1096


Which software is best for coding?

1042


How come you find out if a linked-list is a cycle or not?

1031


Is it possible to have a recursive inline function in c++?

1026


What size is allocated to the union variable?

1053


Is c better than c++?

1062


If horse and bird inherit virtual public from animal, do their constructors initialize the animal constructor? If pegasus inherits from both horse and bird, how does it initialize animal’s constructor?

1207


In inline " expression passed as argument are evalauated once " while in macro "in some cases expression passed as argument are evaluated more than once " --> i am not getting it plz help to make me understand....

2417


Which of the following is evaluated first: a) && b) || c) !

2364


What is array give example?

1049


What is a c++ class?

1094


which of the following is not an secondary constant a) array b) real c) union

1799


What is size of string in c++?

983