• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • YouClaw
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






飘雪love

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

文章分类 -  delphi

 
【转】Delphi心得及笔记----面向对象系列(多态)
摘要:多态1什么是多态?1.1概念多态的概念众说纷纭,下面是几种代表性的说法:“This ability to manipulate more than one type with a pointer or a reference to a base classis spoken of as polymorphism”(《C++ Primer》第838页)。即用基类的指针/引用来操作多种类(基类和其派生类)的对象的能力称之为多态。它是从语言实现的角度来考虑的。“polymorphism provides another dimension of separation of interface fro 阅读全文
posted @ 2012-04-19 14:54 飘雪love 阅读(308) 评论(0) 推荐(1)