How can you implement encapsulation in asp.net?

Answers were Sorted based on User's Feedback



How can you implement encapsulation in asp.net?..

Answer / abhishek bhardwaj

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

How can you implement encapsulation in asp.net?..

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

How can you implement encapsulation in asp.net?..

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

How can you implement encapsulation in asp.net?..

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

How can you implement encapsulation in asp.net?..

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

How can you implement encapsulation in asp.net?..

Answer / kumar

May be by using array list or hashtable ..

Is This Answer Correct ?    1 Yes 10 No

Post New Answer

More ASP.NET Interview Questions

Explain the steps needed to be performed in order to create an animation in xaml?

0 Answers  


What is the maximum amount of memory any single process on Windows can address? Is this different than the maximum virtual memory for the system? How would this affect a system design?

1 Answers   Infosys, KPIT,


What is the mvc framework?

0 Answers  


What is the difference between table and query?

0 Answers  


Hi , I am Basha. I am searching a job in dotnet.Plz tell me the order of page events in asp.net 2.0> plz send faq's related to c#.net,asp.net,sqlserver2000 etc. to my mail-id : bashask.ss@gmail.com

4 Answers   Sapient,


Code for updating the database by entering the data into textboxes in aspx form?

2 Answers   TCS, Wipro,


# What is the transport protocol you use to call a Web service?

1 Answers  


How do we invoke queries from the application?

3 Answers   Microsoft,


What is caching? What are the different types of caching?

6 Answers  


What is the procedure to handle the process request using mhpm events fired? : asp.net mvc

0 Answers  


What is GAC in ASP.NET 2.0

0 Answers   MCN Solutions,


which directive is mandatory in page control

3 Answers   AG Technologies,


Categories