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 is delegates and events?
What is difference between ienumerable and ienumerator in c#?
What's the difference between abstraction and encapsulation?
What is the Signification of the "new " keyword in C#? example
Is a games console a computer?
What are strings in c#?
Explain publishers and subscribers in events.
Does c# support a variable number of arguments?
Where value types are stored in c#?
Describe the overview of clr integration.
Distinguish between continue and break statement?
What is a thread c#?
What is the difference between a private assembly and a shared assembly?
What is parameter c#?
Can you store different types in an array in c#?