04-29-2011, 07:40 AM
Explain Why Encpsultion is used in OOP?
|
Why Encpsultion is used in OOP?
|
|
04-29-2011, 07:40 AM
Explain Why Encpsultion is used in OOP?
04-29-2011, 07:41 AM
Encapsulation is used in OOP to protect data in an object by making data members protected or private in a class. The user can change the state of an object but the user can not directly modify the object. This ensures that the object will be in a stable condition. In encapsulation both information structure and implementation details are hidden from the outside world.
0300-9520262 Get solution in 24 hour |cpmputer & internet mileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
|
|
« Next Oldest | Next Newest »
|