...用可以绑定到派生类型的对象,在这种情况下,静态类型是基类引用(或指针),动态类型是派生类引用或指针静态类型(static type)是编译时类型。对象的静态类型和动态类型是相同的。
基于104个网页-相关网页
...对象的静态类型(static type),就是它在程序中被声明时所采用的类型 对象的动态类型(dynamic type)是指“目前所指对象的类型” vitual 函数是动态绑定而来...
基于6个网页-相关网页
static-type 静态类型
static type system 静态类型系统 ; 与静态型别系统
static type information 静态类型信息 ; 静态类型资讯
static type checking [计] 静态类型检查
Anti-static type 防静电型
static type automatic voltage regulator 静态自动稳压器
static type binding 静态型态系结
design and static type checking 设计和静态类型检查
static type checking and design 静态类型检查和设计
This gives the expressiveness of duck-typing with the safety of static type-checking.
这既给予了动态类型的表达能力又保留了静态类型检查的安全。
Type: Gets the static type of the expression. In this case, the expression is of type Func<int, int, int>.
Type:得到表达式的静态类型,在本例中,表达式的类型是Func<int, int, int>。
The runtime type of the contained Pane will often be a subtype of class Pane, but the static type is simply Pane.
被包含的Pane的运行时类型通常会是类Pane的子类型,但是静态类型就只是Pane。
应用推荐