摘要
本文首先介绍了JAVA中构造方法的概念,指出构造方法是JAVA中初始化对象实例的一组指令集。然后综述了构造方法在不同位置时的不同形态与用法和应注意的事项。
To begin with,this paper introduces the concept of constructor in JAVA,and points out that it is a group of order sets of initializing object instances.Then it summarizes the constructor's different forms and usages when it is in different places,and some other problems that need to be noticed.