How can you implement encapsulation in asp.net?
Answers were Sorted based on User's Feedback
Encapsulation is the concept of OOPS and it is very simple
we can hide data by using Access Modifires like Private
Protected......
Is This Answer Correct ? | 8 Yes | 0 No |
Answer / som
Encapsulation is binding data together ..
like in one class we bind different methods and object.
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / madhuparna bhaumik
1)Encapsulation is a concept of Object oriented programming
2)It means that all of the object's data that is contained
and hidden in the object and access to it restricted to
members of that class.
We can implement encapsulation using State handling in
methods
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / rahul kumar
I Java.....
Encapsulation is a mechanism which binds together or
associate together codes or instance variable and methods in
such a way that the instance variable must be encapsulated
and method made publicly open so that the end user can
access the object through defined methods only to ensure
that the define methods is saved for long term or period.
Is This Answer Correct ? | 0 Yes | 1 No |
Answer / amey
Encapsulation - is the ability of an object to hide its data
and methods from the rest of the world. It is one of the
fundamental principles of Oops.
Ex:- Using System.Data.Sql;
Above example show Hiding all the details from the rest of
the world.
Is This Answer Correct ? | 6 Yes | 14 No |
What is recordset asp?
what is wwf in asp.net?
One of the properties of the Web Part has an incorrect format. Windows SharePoint Services cannot deserialize the Web Part. Check the format of the properties and try again. - this error is occured in Sharepoint 2007 while deploy the web part
Define the types of configuration files.
How can we use Web API with ASP.NET Web Form?
Please brief not about xsd,xslt & xml?
i want to implement grid view value in paypal site. so how to create this code in asp.net with C#
What are the main components of the ADO object model? How are they used?
2 Answers HCL, Syntax Softtech,
Difference between ASP & ASP.NET Session State
What is Model-View-View Model?
By default what is the Asp.Net application login context on IIS 5.0? By default the ASP.Net app runs in the context of a local user ASPNet on IIS version 5. On IIS version 6 on windows 2003 it is called Network service
What is session in asp.net?