Computers and Technology
Computers and Technology, 05.11.2020 08:20, marvin07

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.

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 00:00, jahi1201
Ahorse is how much percent more powerful than a pony
Answers: 1
image
Computers and Technology, 23.06.2019 16:30, azainababbas
20 points archie wants to use a reflector as he photographs a newlywed couple. what would he consider in his choice? a. shadow and sunny b. homemade and professional c. lamps and boards d. incident and reflected e. neutral density and enhancement
Answers: 3
image
Computers and Technology, 24.06.2019 06:50, emmv565628
What are the things you are considering before uploading photos on social media?
Answers: 1
image
Computers and Technology, 25.06.2019 08:00, groverparham3
The heart of a computer. basic input/output systemselectmain memoryserial portcentral processing unit (cpu)
Answers: 3
Do you know the correct answer?
Class Smart {
private:
int s;
int h;
int secrect();
public:
Sma...

Questions in other subjects:

Konu
Biology, 21.03.2020 11:47
Konu
Mathematics, 21.03.2020 11:47