Viewing topic: Encapsulation

See sub-topics for Encapsulation ... >> Computer Science >> Programming Languages >> Encapsulation

Highest Rated Sign

Video id: #50 (enlarge)
Post date: 5/13/2008
Posted by: jndewitt
Rating:
  • Currently 5.0/5 Stars.
  3 ratings
See all signs (1)

Encapsulation

  • Definition: The ability to provide users with a well-defined interface to a set of functions in a way which hides their internal changes.

    Source: Liberty Associates

  • Example: Example Sentence: If your employee object is well encapsulated, you can modify its internal structure without breaking any of the clients with which it interacts.