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

Can you inherit multiple classes in c#?

677


What do you mean by sealed classes and static classes?

696


Why would you use untrusted verification?

691


Which debugging tools you can use in the .NET ssSDK?

725


How does insertion sort work?

695






What is the difference between console application and windows application?

704


Why singleton is sealed?

628


What is the purpose of dependency injection?

668


What are the basic string operations? Explain.

697


How do I stop my console from closing in c#?

628


What is type class in c#?

646


What is generic delegate in c#?

613


Can datetime be null c#?

627


C# called c sharp why?

741


What is binary search tree in data structure?

639