what is Encapsulation?

Answer Posted / nilesh

encapsulation is a process of binding or wrapping the data
and the function into a single
unit (eg. Class).
In simple-This keeps the data safe from outside interface
and misuse.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a string be null c#?

581


What is serialization in .net?

643


What is namespace in oop?

587


What is difference between dictionary and hashtable in c#?

510


Define clr in .net?

640






what is the equivalent to regsvr32 and regsvr32 /u a file in .net development?

642


Explain the difference between a struct and a class?

594


Give an example of removing an element from the queue?

557


What is delegates in c#?

591


What are the three types of predicates?

547


What is web forms in c#?

582


What does ienumerable mean?

560


What are strings in c#?

593


What is dll hell, and how does .net solve it?

595


What is alias in c#?

637