subject

Class Smart {
private:
int s;
int h;
int secrect();
public:
Smart();
Smart(int, int);
void print();
void set(int, int);
int sum();
};

class SuperSmart : public Smart
{
private:
int k;
public:
SuperSmart();
SuperSmart(int, int, int);
void print();
void set(int, int, int);
int manipulate();
};

Suppose that you have the declaration in the main function:
SuperSmart SM;
a) State base class.
b) State derive class.
c) State the numbers of data members for Smart class.
d) State the numbers of function members for SuperSmart class.
e) State the constructor for base class and derive class.
f) List ALL the private numbers of the object SM.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:00
Wich technology can a website use to allow you to listen to a concert live over the internet?
Answers: 3
question
Computers and Technology, 22.06.2019 17:30
Where would you click to edit the chart data?
Answers: 1
question
Computers and Technology, 22.06.2019 22:30
What is the most popular genre of video games?
Answers: 1
question
Computers and Technology, 24.06.2019 00:40
What social factors affect your health
Answers: 3
You know the right answer?
Class Smart {
private:
int s;
int h;
int secrect();
public:
Sma...
Questions
question
Social Studies, 21.09.2019 20:30
Questions on the website: 13722367