How encapsulation and abstraction defined/used in C#.NET.
Answer Posted / siva prasad
encapculation: binding the data members and member functions
together is called
encapculation. encapculation is done through class.
abstraction: hiding the implementaion details form usage or
from view is
called abstraction.
ex:
int x;
we don't know how int will internally work. but we know int
will work.
that is abstraction.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is an extension method in c#?
What is Reflection in .NET? Namespace? How will you load an assembly which is not referenced by current assembly?
What is the difference between an application domain and a process?
Define satellite Assembly?
What is a multicast c# delegate?
What is data set in c#?
Why var is used in c#?
What is _layout cshtml?
What happens if the inherited interfaces have conflicting method names?
What does async mean in c#?
Does c# have primitives?
What are the types of serialization?
What are satellite assemblies?
What is the system namespace?
What are the boolean data types in c#?