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

What happens if you add duplicate elements to a set?

504


How many types of constructors are there in c#?

472


What is the keyword used to prevent a class from being inherited by another class?

670


Why should I use interface in c#?

499


What is the purpose of constructor in c#?

449






Are all methods virtual in c#?

538


How can you use abstract class and interface?

544


Explain what a diffgram, and a good use for one Define diffgram? How it be used?

552


What is a partial class. Give an example?

515


What are managed providers?

549


Explain the mechanism of VB.NET/C# achieve polymorphism?

542


What is the wildcard character in sql?

520


Is datetime immutable c#?

504


What is indexer c#?

468


What is the main method in c#?

522