文件名称:java5
介绍说明--下载内容来自于网络,使用问题请自行百度
多态性概念:
在程序中同一符号或名字在不同情况下具有不同的语义解释,其有两种基本形式:
编译时多态性:
在程序编译时可确定的多态性,由重载机制实现
运行时多态性:
指程序动态运行时才可确定的多态性,由继承结合动态绑定实现.
-Polymorphism of the concept: in the proceedings or the names of the same symbols in different situations have different semantic interpretation, which comes in two basic forms: compile-time polymorphism: In the procedure compile-time polymorphism can be identified by the heavy-duty mechanism to achieve run-time polymorphism: means the process will be required to determine the dynamic run-time polymorphism, dynamic binding by the combination of the realization of the succession.
在程序中同一符号或名字在不同情况下具有不同的语义解释,其有两种基本形式:
编译时多态性:
在程序编译时可确定的多态性,由重载机制实现
运行时多态性:
指程序动态运行时才可确定的多态性,由继承结合动态绑定实现.
-Polymorphism of the concept: in the proceedings or the names of the same symbols in different situations have different semantic interpretation, which comes in two basic forms: compile-time polymorphism: In the procedure compile-time polymorphism can be identified by the heavy-duty mechanism to achieve run-time polymorphism: means the process will be required to determine the dynamic run-time polymorphism, dynamic binding by the combination of the realization of the succession.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
第五章接口和多态性.ppt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.