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

What is platform independence"?

624


explain the features of static/shared classes.

593


Is learning c# hard?

591


What is master page in asp net c#?

567


Why delegates are type safe in c#?

596






In gridview in editmode if we want to display information in one combobox based on

1908


What is xslt in c#?

559


What is the difference between static and private constructor?

558


Can we inherit sealed class in c#?

549


Can a struct inherit from another struct or class in c#?

592


Why are dynamic link library used over static one?

616


What is virtual class in C#?

640


What is a deadlock lock?

581


What is anonymous class in c#?

618


Is c# good for web development?

635