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 do you mean by shared assembly?
Describe the overview of clr integration.
What is private in c#?
What do you mean by casting a data type?
Is c# lazy thread safe?
What is a satellite assembly in c#?
What are the Configuration files in .net?
What is the meaning of int parse in c#?
What are data types in C#?
Why c# is type safe?
Write the difference between TypeOf and GetType?
Why do we use anonymous method in c#?
What is indexer c#?
Can abstract class be sealed?
What is the difference between int16 and int32 in c#?