静态初始化区块(static initialization block)时,都会说「静态初始化区块是在类别第一次载入 的时候才会被呼叫那仅仅一次。
基于1个网页-相关网页
静态初始化区块
Statically initialize the block
以上为机器翻译结果,长、整句建议使用 人工翻译 。
若要初始化类别,所有的静态区块和静态栏位初始设定式是以它们出现在类别主体中的顺序来执行。
To initialize the class, all the static blocks and static field initializers are executed in the order in which they appear in the class body.
youdao
应用推荐
模块上移
模块下移
不移动