Encapsulation: a software object is a discrete package containing both the physical properties (data) and the functionality (behavior) that mimics its real-world counterpart.
封装:软件对象就是包含模拟真实世界的对象的物理属性(数据)和功能(行为)的离散包。
Encapsulation: a software object is a discrete package containing both the physical properties (data) and the functionality (behavior) that mimics its real-world counterpart.
封装:软件对象就是包含模拟真实世界的对象的物理属性(数据)和功能(行为)的离散包。
应用推荐