this() and this
问题 Does Java has this() ? If so, what's the difference between this and this() ? 回答1: this is reference to current instance. this() is call to default constructor. super() is explicit call to default constructor of super class. 回答2: this is a reference to the current object. this() is a call to the default constructor; it is only legal inside another constructor, and only as the first statement in the constructor. You can also call super() to invoke the default constructor for the superclass