In C++, a class can inherit from more than one class. This is called multiple inheritance. Some other OOPS languages like Java, do not support multiple inheritance. Syntax for multiple inheritance is class cls - name : public base - cls1, public base - cls2,public base-cls3 { /*code*/ } We are specifying multiple classes as base classes here. The base class list is comma separated and has access specifier for each base class. Each of these base classes must have been declared earlier. Derived class objects contain sub-objects of each of these base classes. class LandAnimal { int legs; public: void walk() { cout << "walks" ; } }; class WaterAnimal { int fins; public: void swim() { cout << "swims" ; } }; class Amphibian : public LandAnimal, public WaterAnimal { }; int main () { Amphibian frog; frog.walk(); frog.swim(); } Output walks swims In the above example, class Amp