Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - <b>encapsulation</b> data and methods are an inseparable unit http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Encapsulation              Data and Methods are an inseparable unit
--------------------------------------------------------------------------------

  An Object is an inseparable unit of Data and Methods.

  Both the Data and the Behaviors of a Window ARE the Window! We can not
  separate its Data from its Behaviors.

  Different Data may cause modified Behaviors.

  Behaviors may change the Data.

  Data and Behaviors both depend on each other.


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson