How encapsulation and abstraction defined/used in C#.NET.

Answer Posted / raj

Encapsulation Means Wrapping up of data and methods into a single unit (Class).

Abstraction Means Hiding the Details of method implementation(Interface)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how to use an extender provider in the project.

593


What is 8 bit signed integer?

559


Can you create sealed abstract class in c#?

561


How do you read an Excel sheet in C#?

630


What is cts, clr?

513






What is the system namespace?

556


Why should you override the tostring() method?

679


Explain the difference between user control and custom control. Also, explain their use.

679


What are the 3 types of comments in c#?

618


How do destructors and garbage collection work in c#?

605


What are virtual classes in c#?

620


What is the boxing and unboxing in c#?

590


if a method is marked as protected internal who can access it?

644


How does insertion sort work?

602


Explain the features of an abstract class in net.

591