`
talin2010
  • 浏览: 501823 次
  • 性别: Icon_minigender_1
  • 来自: 河北
社区版块
存档分类
最新评论

17.10.2 Instance variable initializers

 
阅读更多
When an instance constructor has no constructor initializer, or it has a
constructor initializer of the form
base(?), that constructor implicitly performs the initializations specified
by the variable-initializers of the
instance fields declared in its class. This corresponds to a sequence of
assignments that are executed immediately
upon entry to the constructor and before the implicit invocation of the
direct base class constructor. The variable
initializers are executed in the textual order in which they appear in the
class declaration.
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics