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

How encapsulation and abstraction defined/used in C#.NET.

Answer Posted / gitesh sankhe

Encapsulation has two faces; data abstraction and
information hiding. Data abstraction is a type seen from
the outside. Information hiding is a type seen from the
inside.

Abstraction focuses on the outside view of an object (i.e.
the interface)
Encapsulation (information hiding ) prevents clients from
seeing its inside view, where the behavior of the
abstraction is implemented

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain polymorphism in c# with a simple example?

935


what is IFormatable

996


Explain what is copy constructor?

1028


What type is string in c#?

868


Define delay signing?

934


What is the difference between class and namespace?

980


What is type safe code?

880


Is string passed by reference in c#?

934


What is the difference between // comments, /* */ comments and /// comments?

846


What can we do to handle multiple exceptions?

1040


What is difference between Enum and Struct?

1009


What is this keyword in C#?

974


Which config file has all the supported channels/protocol?

990


What is the property of a class in c#?

887


If I return out of a try/finally in c#, does the code in the finally-clause run?

981