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 03:40
Mary's manager told her she should insert a graphic into her documentwrite mary a brief note describing how to insert a graphicin a word processing document.
Answers: 1
question
Computers and Technology, 22.06.2019 04:30
How can you know if the person or organization providing the information has the credentials and knowledge to speak on this topic? one clue is the type of web site it is--the domain name ".org" tells you that this site is run by a nonprofit organization.
Answers: 2
question
Computers and Technology, 22.06.2019 10:30
You have a large, late-model pick-up truck with a rear seat. the pick-up truck weighs 6,500 pounds. the florida seat belt law
Answers: 1
question
Computers and Technology, 22.06.2019 14:00
What are procedures that keep a data base current
Answers: 1
You know the right answer?
Class Smart {
private:
int s;
int h;
int secrect();
public:
Sma...
Questions
question
Mathematics, 09.12.2019 10:31
question
Biology, 09.12.2019 10:31
Questions on the website: 13722367