extending class in c++ code example
Example: extends c++
class Animal {
public:
move();
}
class Dog: public Animal {
public:
move();
};
class Animal {
public:
move();
}
class Dog: public Animal {
public:
move();
};