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
Can we inherit a class with private constructor in c#?
Explain the differences between static, void and public in c#?
What is out int in c#?
What is a base class in C#?
Is array reference type in c#?
What are the types of comments in c#?
what is the Difference between the public and private ?
How can I create image pieces/sub image?
How can we set the class to be inherited, but prevent the method from being over-ridden?
How does one compare strings in c#?
What is the use of generics in c#?
What is difference between managed and unmanaged code?
Why do we still see so much non-oo code written in c# today?
Can we inherit class that contains only one private constructor?
List down the differences between public, static and void keywords?