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

Answer Posted / sp

Encapsulation is the process of hiding details from the
outside of the source.
Abstraction is the process of hiding details from other than
the child's.

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain “static” keyword in c#?

492


what is a enumeration in c#

580


Why do we need generics in c#?

520


I was trying to use an out int parameter in one of my functions. How should I declare the variable that I am passing to it?

578


What is a datacontract?

490






What is a custom attribute?

485


how to prevent a class from being inherited in c#.net?

522


What is the real use of interface in c#?

476


Write a console application and implement the ternary operator to decide whether the age a user entered after being prompted is allowed to vote or not(given that only citizens between 18 and 120 years only inclusive can vote). Use exception handling for non-numerical input.

1903


What is windows form in c#?

546


Can arraylist store different data types in c#?

484


Is 0 an unsigned integer?

507


What is difference between mutable and immutable in c#?

457


Is c# 8 released?

506


What is the difference between as and is operators in c#?

448