c++ extending class 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();
};