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