Type a no-arg constructor that delegates with this()
Type a no-arg constructor that delegates with this()
Answer
Point() { this(0, 0); }
this(0, 0) calls the two-arg constructor. this(...) must be the first statement — putting any code before it is a compile error.