How can you implement encapsulation in asp.net?
Answer Posted / 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 |
Post New Answer View All Answers
Is web config mandatory?
What is jade template engine?
How do you secure your configuration files to be accessed remotely by unauthorized users?
Can you explain page lifecycle in net?
What are the advantages of the code-behind feature?
What is the use of express session?
Define machine.config in .net?
Can you dynamically assign a Master Page?
Explain the difference between asp.net mvc and asp.net webforms
How can we identify that the page is post back in asp net?
What are the different ways you would consider sending data across pages in ASP (i.e between asp to asp)?
How would you enable impersonation in the web.config file?
What is the caspol.exe tool used for?
Why is an object pool required?
What are validator? Name the validation controls in asp.net?