extends c++

C++
class Animal {
  public: 
      move();
}

class Dog: public Animal {
	public: 
		move();
};
Source

Also in C++: