what is Encapsulation?

Answer Posted / betty

Encapsulation is information hiding. By using the access
modifier (like private, public, internal, protected), you
are practicing encapsulation.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I get around scope problems in a try/catch?

471


What is constructors, explain with syntax

538


What is the difference between interface and inheritance in c#?

465


How does c# generics and c++ templates compare?

467


What is the use of delegate?

519






What is bit in c#?

524


What is console writeline in c#?

465


What is the .NET collection class that allows an element to be accessed using a unique key?

596


Why do we use delegates?

445


What are the Types of values mode can hold session state in web.config

546


Is null or empty in c#?

539


What is the difference between protected and private?

463


What is asynchronous one-way calls?

516


Explain nullable types in c#?

537


How do namespaces work?

519