I have question about constructors,
If i have
Is there a way when I code the constructors I can leave the parent constructor and just do this->y = y; and since Class B calls the parent class, x,y would just be reduntent. This is similar to the command SUPER in JAVA. Just wondering. Thanks.Code:Class A {
private:
int x;
int y;
}
Class B : public A {
private:
int x;
int y;
int z;
}