Java: What is the difference between and ?

前端 未结 4 1834
不知归路
不知归路 2020-12-02 08:11

I am unable to understand the following text... Does it mean that is for empty constructors? Why is important to have two different versions?

4条回答
  •  时光说笑
    2020-12-02 08:55

    denotes a constructor, denotes a static initializer: "Static Initialization Blocks" in the Java Tutorial, Static initializer in Java.

提交回复
热议问题