java constructor calls the constructor, this () statement

this statement: for each call between constructor

this (property)

this () statement can only be defined in the first line of the constructor. Because the initialization action must be executed.

 

Guess you like

Origin www.cnblogs.com/hongxiao2020/p/12466587.html