惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

N
Netflix TechBlog - Medium
罗磊的独立博客
云风的 BLOG
云风的 BLOG
Last Week in AI
Last Week in AI
Y
Y Combinator Blog
小众软件
小众软件
Blog — PlanetScale
Blog — PlanetScale
T
The Blog of Author Tim Ferriss
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
月光博客
月光博客
博客园 - Franky
F
Fortinet All Blogs
D
Docker
博客园 - 司徒正美
腾讯CDC
Recent Announcements
Recent Announcements
The Cloudflare Blog
B
Blog RSS Feed
GbyAI
GbyAI
T
Tailwind CSS Blog
雷峰网
雷峰网
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - 三生石上(FineUI控件)
阮一峰的网络日志
阮一峰的网络日志

博客园 - shuang

heart or house? Dos for -- by 随风 - shuang C--Pointer Raid -----asp web 报表 - shuang ----[创业指南]给海归技术创业兄弟的九个忠告 --设计模式--Hibernate about avast job desc 把INT转换成2进制等 private/实现有多个相同方法的接口 使用接口改变已经装箱的值类型的字段 struct也有方法成员 集成资源文件 const -readonly- static readonly 脚本---用函数模拟类 csm2 ClientScriptManager html______1
virtual
shuang · 2007-12-20 · via 博客园 - shuang

virtual ---当方法被调用时,无论对象是否被转换为其基类型---都只有位于对象继承链最末端的方法实现会被调用。
也就是说 :虚方法是按照其运行时类型而非编译时类型进行动态邦定调用的
**************************************************************
override---显式地表明方法在重写基类中的虚方法。---仅应用于虚方法

posted @ 2007-12-20 08:22  shuang  阅读(233)  评论(0)    收藏  举报