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

Why main function is special in c++?

1074


What is the full form of stl in c++?

1153


Is python written in c or c++?

1119


When are exception objects created?

1036


Why pointer is used in c++?

1105


What are the uses of typedef in a program?

1050


What does it mean to declare a destructor as static?

1035


Which sort is best for the set: 1 2 3 5 4 a) Quick Sort b) Bubble Sort c) Merge Sort

1018


How do you establish a has-a relationship?

1056


Explain overriding.

956


What is the best way to take screenshots of a window with c++ in windows?

1014


What are structures and unions?

963


What are iterators in c++?

972


Explain object slicing in c++?

1028


What is this pointer in c++?

1336