Question: Defines encapsulation as a property by which Object-Oriented Design encapsulates attributes and operations into objects. Through this property, objects can communicate with other objects across
Defines encapsulation as a property by which Object-Oriented Design encapsulates attributes and operations into objects. Through this property, objects can communicate with other objects across well-defined interfaces, but they are not allowed to know how the other objects are implemented. In other words, the internal structure of an object is hidden but the object has the discretion to communicate some of its properties to other objects.
Step by Step Solution
3.40 Rating (153 Votes )
There are 3 Steps involved in it
Encapsulation is a fundamental principle ofobjectoriented programming OOP that involves bundling data and the methods that operate on that data within a single unit knownas an objectThis concept helps ... View full answer
Get step-by-step solutions from verified subject matter experts
