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...

Answer Posted / rlv

Abstraction is categorized as Data Abstraction and Procedural Abstraction. In data abstraction, the way the data are stored e.g. the structure or arrangement of data is hidden.

Procedural abstraction on the other hand, hides the details on how the function/procedure/method works. You must only know the inputs and the expected outputs, much like a black-box. The two ideas combined serve as one of the important concept in OOP called Encapsulation.

As an example, when you create a class for StudentGrades, the variables and their structure for representing grades is hidden by using the private keyword, you only provide methods to access and manipulate this data.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How a new element can be added or pushed in a stack?

1022


write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;

1902


Is c++ an integer?

1041


What are the benefits of c++?

1057


What is c++ hiding?

1220


What is the return value of the insertion operator?

1132


What is set in c++?

1135


What is a storage class? Mention the storage classes in c++.

1026


Is c++ a software?

1204


What is main function in c++ with example?

1231


When does a name clash occur in c++?

1173


How long will it take to learn programming?

1065


What are register variables?

1155


What operator is used to access a struct through a pointer a) >> b) -> c) *

1125


What are the rules for naming an identifier?

1064