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 using keyword in C#?
Can struct inherit from class c#?
What is expression tree in c#?
Why static constructor is parameterless in c#?
When should I use static in C#?
Is predicate a functional interface?
Can we create multiple constructors?
Define acid rule of thumb for transactions in c#.
What is difference between static and constant variable?
what is difference between is and as operators in c#?
Can I use exceptions in c#?
What is the syntax for calling an overloaded constructor within a constructor?
What is default value of bool in c#?
What is boxing & unboxing?
Why References are stored on heap and variables on stack?