How encapsulation and abstraction defined/used in C#.NET.
Answer Posted / gitesh sankhe
Encapsulation has two faces; data abstraction and
information hiding. Data abstraction is a type seen from
the outside. Information hiding is a type seen from the
inside.
Abstraction focuses on the outside view of an object (i.e.
the interface)
Encapsulation (information hiding ) prevents clients from
seeing its inside view, where the behavior of the
abstraction is implemented
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
Explain what is the smallest unit of execution in .net?
What does mean c#?
What does int32 mean?
What is private in c#?
What are immutable types in c#?
Can a loop recorder detect a heart attack?
Why is xml called extensible?
What is a .aspx file?
Can you inherit multiple abstract classes in c#?
How can I produce an assembly?
What are the desktop applications?
Why do we need collections in c#?
What are modifiers in c#?
What is a console file?
What namespace is list in c#?