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 Encapsulation?

Answer Posted / vishal singh

Encapsulation is a process of binding or wrapping the data
and the codes that operates on the data into a single
entity (eg. Class).
This keeps the data safe from outside interface and misuse.
One way to think about encapsulation is as a protective
wrapper that prevents code and data from being arbitrarily
accessed by other code defined outside the wrapper.

Is This Answer Correct ?    11 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we inherit class that contains only one private constructor?

890


What does public mean in c#?

874


What is the difference between field and property in c#?

880


How do you sort a list in c#?

804


Difference between StackPanel and RelativePanel ?

959


Is there hashmap in c#?

870


What are some examples of desktop applications?

866


What is static and use of it?

919


Can I use exceptions in c#?

945


Why to use “finally” block in c#?

1026


List some Advantages of switch-case over if else?

858


What is the use of nullable types in c#?

931


what is the difference between a struct and a class in c#?

1080


What is difference between singleton and static class in c#?

877


Which namespaces are necessary to create a localized application?

1011