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

If I want to override a method one of class A and in class b then how do you declare?

1391


Why do we need escape characters?

944


Where do we set the min and max pool size for connection pooling?

1022


Can you explain template pattern?

1100


What are value types and reference types?

1200


Why do we need oops in c#?

994


Can you change the value of a constant filed after its declaration?

1006


Can we inherit partial class in c#?

987


How do you access a constant field declared in a class?

956


Can you call from an inherited constructor to a specific base constructor if both base class and an inheriting class has a number of overloaded constructors?

1015


What is difference between the "throw" and "throw ex" in .net?

1047


Are c and c# the same thing?

921


Explain the process of Serialization?

1055


What is written in c#?

1062


What does immutable mean in c#?

1021