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 difference between ilist and list in c#?
What is disconnected data architecture in c#?
What is stringwriter c#?
What is an array? Give the syntax for a single and multi-dimensional array?
What is an iqueryable in c#?
List down the differences between public, static and void keywords?
What are the advantages of using c#?
Give an example of removing an element from the queue?
Explain the difference between directcast and ctype.
Explain how do you convert a value-type to a reference-type?
What is type cast in C#?
What is a delegate? Explain.
For methods inside the interface why can’t you specify the accessibility modifier?
What is dbcontext c#?
what is the index value of the first element in an array?