Answer:
// C++ program to demonstrate inheritance
#include <iostream>
using namespace std;
// base class
class Animal {
public:
void eat() {
cout << "I can eat!" << endl;
}
void sleep() {
cout << "I can sleep!" << endl;
}
};
// derived class
class Dog : public Animal {
public:
void bark() {
cout << "I can bark! Woof woof!!" << endl;
}
};
int main() {
// Create object of the Dog class
Dog dog1;
// Calling members of the base class
dog1.eat();
dog1.sleep();
// Calling member of the derived class
dog1.bark();
return 0;
}
Answer:
with the power button or do the sleep or shut down
and by the type of computer
Explanation:
sry if its wrong
have a good day:)
-XxMissNobodyxX
Answer:
Creo que necesitas crear una nueva cuenta en el Brainly español. Para encontrarlo, tal vez pueda buscar una pregunta aleatoria en Internet seguida de Brainly y, con suerte, encontrará la correcta. Luego crea una cuenta en ese Brainly. Al menos pienso cómo lo haces.
<h2>Many properties can be listed out viz. durability, quality, the sound that it produces also depends on the material that is used, etc.</h2>
Explanation:
1. If you take wood then I would say maple, rosewood, cedar, walnut can be used to make "String instruments".
Reason:
The wood that we choose should be perfect and should give long-life to use the instrument.
2. If we consider about strings, then I would suggest that the material that you choose should be "ductile and hard".
Reason:
Thin wires can be drawn.
3. In case of Brass, it should be "malleable metal", so that the outcome of the instrument will satisfy the need.