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 / chandan jana

The main idea behind data abstraction is to give a clear
separation between properties of data type and the
associated implementation details. This separation is
achieved in order that the properties of the abstract data
type are visible to the user interface and the
implementation details are hidden. Thus, abstraction forms
the basic platform for the creation of user-defined data
types called objects. Data abstraction is the process of
refining data to its essential form.

In object-oriented programming language C++, it is possible
to create and provide an interface that accesses only
certain elements of data types. The programmer can decide
which user to give or grant access to and hide the other
details. This concept is called data hiding which is similar
in concept to data abstraction.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are its advantages and disadvantages of multiple inheritances (virtual inheritance)?

1202


Why is main an int?

995


What is difference between c++ 11 and c++ 14?

1103


What are advantages of using friend classes?

1078


What is a modifier in c++?

1155


Describe about storage allocation and scope of global, extern, static, local and register variables?

1259


What is the use of bit fields in structure declaration?

987


What do you mean by vtable and vptr in c++?

1043


Describe the role of the c++ in the tradeoff of safety vs. Usability?

1218


Tell me an example where stacks are useful?

1037


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

1043


Which is the best c++ compiler for beginners?

1101


What is a storage class used in c++?

1086


What is atoi?

976


What are the benefits of operator overloading?

1220