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

Answer Posted / ramanathan

holding the deails togather.wrapping updata and methods
together..tis is called Encapsulation..
hiding details.Hiding the implementations of methods in a
classby use of objects..this is called Abstraction..

Is This Answer Correct ?    10 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the delegate in c#?

643


What is function and method in c#?

693


Why do we use hashtable in c#?

641


What is the default value of boolean variable?

620


How do you specify a custom attribute for the entire assembly (rather than for a class)?

702






What happens when thread sleep () method is called?

649


Which .gang of four. Design pattern is shown below?

642


In how many ways you can overload a method?

759


You are creating a custom usercontrol, some of the newly created properties are shown in the properties window. How you can hide a new property named theme from the properties window?

680


What is private static in c#?

643


How do I start a program in c#?

703


Is c# good for games?

638


What is Implementation inheritance

687


Explain the types of comments in c#?

699


What is the difference between double and decimal in c#?

657