下载此文档

基于安卓的外文翻译安卓-外文翻译.doc


文档分类:外语学习 | 页数:约9页 举报非法文档有奖
1/9
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/9 下载此文档
文档列表 文档介绍
基于安卓的外文翻译安卓-外文翻译.doc基于安卓的外文翻译安
卓-外文翻译
导读:就爱阅读网友为您分享以下“安卓•外文翻译,啲资 讯,希望对您有所帮助,!
Coverage means that subclasses redefine the virtual function of the parent class method.
Overloading, refers to allow multiple functions with the same name, and the parameters of these functions are different (perhaps the number of parameters are different, perhaps different parameter types, maybe both are different).
In fact, the concept of "heavy load does not belong to the object oriented programming&qnot;,
Heavy load: the compiler implementation is according to the parameter table function different, the name of the functions
with the same name as modification
Then these functions with the same name as the different function (at least for the compiler).
For example, there are two functions with the same name: function func (p:integer): integer; and function func (p:string): integer;.
Then the compiler had modified the function name may be this: int_func9 str_func.
For the two function calls, the compiler have been identified, is static (remember: static).
That is to say, their address is bound at compile time (early binding),
Therefore, overloading and polymorphism! The real and polymorphism is related to the "cover"・
When the class to define virtual functions the parent class, the parent class pointer according to assign it to the different sub class pointer, dynamic (re

基于安卓的外文翻译安卓-外文翻译 来自淘豆网m.daumloan.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数9
  • 收藏数0 收藏
  • 顶次数0
  • 上传人sssmppp
  • 文件大小63 KB
  • 时间2021-01-11