In Java, a class can inherit the constructor of its base class by using the keyword super. The syntax for doing this is as follows:  class DerivedClassName extends BaseClassName {
// constructors
DerivedClassName() {
super();
}
} When a derived class inherits the constructor of its base class, the compiler automatically inserts a call to the base class constructor at the beginning of the derived class constructor. This ensures that the base class is always initialized before the derived class. Note that if a class does not explicitly inherit a base class constructor, then the default constructor (which takes no arguments) will be used instead.