Class Dog is derived from Object and adds a member variable tail and member functions bark() and jump().