[Solved] Is this a constructor (C++)

The class has only one constructor Test (int x = 0, int y = 0) { this->x = x; this->y = y; } that is the default constructor because it can be called withoit arguments.. The constructor name is the same as the class.name. So these Test setX(int a) { x = a; return *this; … Read more