chrisongs的个人空间 https://blog1.eetop.cn/?766721 [收藏] [复制] [分享] [RSS]

日志

THE ESSENTIALS OF OBJECT ORIENTATION

已有 1313 次阅读| 2013-2-17 14:18 |个人分类:精华

You really need to remember only five things to understand 90 percent of the theory of object
orientation:

• An object is anything that provides a way to locate, access, modify, and secure data;

• A class is a description of what data is accessible through a particular kind of object, and
how that data may be accessed;

• A method is the means by which an object’s data is accessed, modified, or processed;

• Inheritance is the way in which existing classes of object can be upgraded to provide additional
data or methods;

• Polymorphism is the way that distinct objects can respond differently to the same message,
depending on the class to which they belong.

点赞

评论 (0 个评论)

facelist

您需要登录后才可以评论 登录 | 注册

  • 0

    周排名
  • 0

    月排名
  • 0

    总排名
  • 0

    关注
  • 2

    粉丝
  • 0

    好友
  • 1

    获赞
  • 4

    评论
  • 412

    访问数

手机版| 小黑屋| 关于我们| 联系我们| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2025-6-6 21:53 , Processed in 0.110908 second(s), 6 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
返回顶部