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 the use of xmlserializer?
How do you define a predicate?
What are c# attributes and its significance?
What issues can be faced while delivering code?
How can I get the ascii code for a character in c#?
Define MSIL, and how does it works? Why our developers need an appreciation of it if at all?
What is default boolean value in c#?
What is argument in c#?
What is the difference between proc. Sent by val and by sub?
What is difference between C# and VB.NET?
How do partial classes work in c#?
Can you create sealed abstract class in c#?
Explain how do I get deterministic finalization in c#?
Are value types sealed?
Int map to which .net types?