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


Please Help Members By Posting Answers For Below Questions

write a C# Program add two matrix ?

789


How to use the sreamReader class to read form a text file?

815


What is literal control

796


What are c# collections?

709


What is the difference between system.text.stringbuilder and system.string?

774


Are value types sealed?

740


What's the difference between System.String and System..StringBuilder in C#?

743


What is the difference between CONST and READONLY?

805


What is the difference between and xml documentation tag?

753


Differentiate between sqlclient oledb and providers?

758


What is the property of a class in c#?

686


Between windows authentication and sql server authentication, which one is trusted and which one is untrusted?

740


Explain the security with aop?

860


What is a constructor in c#?

857


What is the difference between protected and private?

730