Encapsulation.

  Access control is often referred to as implementation hiding. Wrapping data and methods
within classes in combination with implementation hiding is often called encapsulation.
  The result is a data type with characteristics and behaviors

posted @ 2014-03-06 09:43  wonkju  阅读(126)  评论(0编辑  收藏  举报