Object initializers, which ease construction and initialization of objects.
对象构造者, 使得构造和初始化对象更容易.
互联网摘选
Ordinarily these initializers are used to initialize the data members of the newly created object.
通常,这些初始化式会用于初始化新创建对象的数据成员.
互联网摘选
Subsequent instances of same type start at step 5 because the class initializers execute only once.
同一类型的后绝实例自第5步开初,果为类初初化器仅仅执行一从.
互联网摘选
Note that the individual object initializers are enclosed in braces and separated by commas.
请注意,各个对象初始值设定项被分别括在大括号中,并且用逗号分隔.
互联网摘选
一种初始化形式,将逗号分隔的初始化式列表放在圆括号内.
互联网摘选
Instance initializers allow you to execute construction code for an anonymous inner class.
实例初始化器允许您为一个匿名内部类执行构造代码。
互联网摘选
During the initializing phase, any static initializers contained within a class are executed.
在初始化阶段,类中包含的静态初始化器都被执行。
互联网摘选