📜  java 初始化类 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:07.264000             🧑  作者: Mango

代码示例1
ClassName className = new ClassName();
When you run the " New ClassName(); ", that is when you
initialize the class. It creates a new instance of the class
and also run the
      public ClassName() {
    }
in the class.