subject
Engineering, 18.02.2020 01:05 lululoveee586

Consider the following class definition:
class first
{
public:
void setX ();
void print const ();
protected:
int y;
void setY (int a);
private:
int x;
};
Suppose that class second is derived from class first using the statement:
class second: private first
Determine which members of class first are private, protected, and public in class second.

ansver
Answers: 3

Another question on Engineering

question
Engineering, 03.07.2019 14:10
Explain the difference laminar and turbulent flow. explain it with the shear stress and the velocity profiles.
Answers: 1
question
Engineering, 03.07.2019 15:10
Apiston-cylinder with a volume of 0.25 m3 holds 1 kg of air (r 0.287 k/kgk) at a temperature of 100 c. heat transfer to the cylinder causes an isothermal expansion of the piston until the volume triples. how much heat is added to the piston-cylinder?
Answers: 3
question
Engineering, 04.07.2019 16:10
An electrical motor raises a 50kg load at a construct velencity .calculate the power of the motor, if it takes 40sec to raise the load through a height of 24m(take g =9.8n/g)
Answers: 2
question
Engineering, 04.07.2019 18:10
Thermal stresses are developed in a metal when its a) initial temperature is changed b) final temperature is changed c) density is changed d) thermal deformation is prevented e) expansion is prevented f) contraction is prevented
Answers: 2
You know the right answer?
Consider the following class definition:
class first
{
public:
void setX ();...
Questions
question
Mathematics, 25.04.2020 00:24
question
Mathematics, 25.04.2020 00:24
Questions on the website: 13722361