How encapsulation and abstraction defined/used in C#.NET.
Answer Posted / shamim nayab
Encapsulation:
Encapsulation is defined as the process of enclosing
data and function within a physical or logical package.
Abstraction:
Abstraction and encapsulaion are different but related
features.Abstraction enables to make the relevent
information visible
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what is IDisposal interface
What are strings in c#?
What is the .net datatype that allows the retrieval of data by a unique key?
What are native functions?
What is poco c#?
How do you implement thread synchronization in c#?
What is join in c#?
if a base class has a number of overloaded constructors, and an inheriting class has a number of overloaded constructors; can you enforce a call from an inherited constructor to a specific base constructor?
What is c# console application?
What is session and cookies in c#?
Name the property of the textbox which cannot be changed at runtime?
Can scriptable objects have methods?
Can an abstract class inherit from another abstract class c#?
Why do we use lambda expression in c#?
Is c# still popular?