当读取(反序列化)时,声明的类型(declared type)可能是一个基本类型(general type),但是你确切地知道应该使用的实现类型(译注:也就说,我们需要反序列化后生成的对象是实现...
基于12个网页-相关网页
然后,编译器可以根据age属性声明的类型实施类型检查。
The compiler can then enforce type checking based on the declared type of the attribute named age.
正如您所料,默认值的类型必须与成员变量声明的类型完全相同。
As you might expect, this must be the same type that you declared for the member variable.
要在实例文档中对元素指定xsi: type,使用派生类型替换声明的类型。
Xsi: type is specified on an element in the instance document to replace the declared type with a derived one.
What does it do? It has height, it says, I've got two names of things: the request message and the error message.
那它是用来干嘛的呢?,它声明了包含两个对象:,要求输入的信息和输入类型错误信息。
> David: At some point in time, I'm going to have to have declared the variable as a float before I can then hand it to printf as the insertion value for that format strength.
>,大卫:在一个特定的时间,我将需要,声明float类型这样的变量,那样我就可以把它打印出来,像是格式化优点的插入值。
So there's no mention of int, and yet we've been saying for the past couple of lectures, that anytime you declare a variable, you absolutely have to specify its type.
这里没有提及int,我们在前几个演讲中,一直讨论的东西,任何时候你声明一个变量,你必须指定它的类型。
应用推荐