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 are get and set in c#?
What are the types of constructors?
What is the namespace for datatable in c#?
Why is it important to override gethashcode when equals method is overridden?
What do you mean by casting a data type?
Define assert() method? How does it work?
Can scriptable objects have methods?
What is data types in c#?
Is c# a backend language?
Why is ienumerable used?
What is the difference between a constant and a static readonly field?
what is the difference between interface and multiple interface?
What is an arraylist in c#?
Can delegates be used as callbacks?
What is a interface in c#?