Hard
Which statement(s) is (are) true ?
class A {
protected:
int x;
public:
A(int x) : x(x) {}
};
class B : public A {
private:
int y;
public:
B(int x, int y) : x(x), y(y) {}
};
Author: SamuelStatus: PublishedQuestion passed 172 times
Edit
3
Community EvaluationsNo one has reviewed this question yet, be the first!
Similar QuestionsMore questions about C++
3
Which statement concerning constructors is false ?1
The operator + has been defined for Complexe objects thanks to an intern overloading.1
Write a C++ program that uses static variables.1
Write a C++ program to add two complex numbers.1
Which type should you use to represent a data list with a length that can change ?