c++ extend syntax 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();
};