How encapsulation and abstraction defined/used in C#.NET.
Answer Posted / animesh
Encapsulation means hiding the inner details from the user
For eg. We know that to open a lock we put key inside it
but what key will do inside the lock is hiddden. We use
inheritance for encapsulation similarly we use Abstract
classes to define abstraction in C#.
| Is This Answer Correct ? | 17 Yes | 16 No |
Post New Answer View All Answers
What are custom attributes in c#?
What is the meaning of MSIL?
What is a satellite assembly in c#?
What is value c#?
What is delegates in c#?
What is the use of console readkey in c#?
What namespace is list in c#?
Differentiate between sqlclient oledb and providers?
List down the commonly used types of exceptions in .net
What is the difference between asp net and c#?
Explain static class members.
Explain the term inheritance in C#.
What do u mean by delegation?
What is object pool in .net?
What type is string in c#?