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
What is the advantage of dependency injection?
What are the uses of namespaces?
Why constructor is used in c#?
What is a private class in c#?
Is system a class in c#?
Is type nullable c#?
Is array ienumerable c#?
Can you access a hidden base class method in the derived class?
What is data reader in c#?
What is the difference between ienumerable and enumerable?
Difference between Value type & reference types ? and give the example in .Net?
What is int parse in c#?
How to prevent the error while updating ui control from another thread?
Which class does the remote object has to inherit?
What is difference between array and arraylist in c#?