instance initializer block 实例初始化块
This is an example of an instance initializer.
这是一个关于实例初始值设定项的示例。
Instance initializer (s) gets executed ONLY IF the objects are constructed.
实例初始化语句块只有在它建立后才会被执行。
The first set of enclosing braces delineates the construction of an anonymous inner class, and the second set delineates the instance initializer for the anonymous inner class.
第一组闭合括弧划定一个匿名内部类的构造,第二组划定匿名内部类的实例初始化语句块。
Again, it's got an initializer, or an instance creator, right there.
跟上次一样,这里有个初始器,或者说是个实例创造器,就在这里。
应用推荐