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

You have two pairs: new() and delete() and another pair : alloc() and free(). Explain differences between eg. New() and malloc()

1224


Is c the same as c++?

1061


Why do we use using namespace std in c++?

1127


How do you establish a has-a relationship?

1171


What are the differences between the function prototype and the function defi-nition?

1159


What programming language should I learn first?

1153


What character terminates all character array strings a) b) . c) END

1358


What is a singleton class c++?

1095


What is &x in c++?

1048


Explain public, protected, private in c++?

1071


What is c++ good for?

1118


Which coding certification is best?

1077


What is else if syntax?

1215


Is multimap sorted c++?

1072


Evaulate: 22%5 a) 2 b) 4 c) 0

1144