subject

Consider the following classes and object obj. class Base {
private:
int x;
protected:
int y;
public:
int z;
Base();
};
class Derived : public Base {
public:
Derived();
};
Derived obj;

a. z only
b. y and z
c. x, y, and z

1. An implementation of constructor Base() can have access to member variables

2. An implementation of constructor Derived() can have access to member variables

3. Object obj can directly access

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 20:30
To display data in a certain manner like alphabetical order is called
Answers: 1
question
Computers and Technology, 22.06.2019 23:00
In which part of a professional email should you try to be brief, but highly descriptive?
Answers: 1
question
Computers and Technology, 22.06.2019 23:00
Is an attack that relies on guessing the isns of tcp packets
Answers: 2
question
Computers and Technology, 22.06.2019 23:20
How can you tell if someone sent you a text message to your email instead of a email
Answers: 1
You know the right answer?
Consider the following classes and object obj. class Base {
private:
int x;
prote...
Questions
question
Social Studies, 24.04.2020 02:55
question
Mathematics, 24.04.2020 02:55
Questions on the website: 13722367