posted 16 years ago
No constructors are not inherited. Constructors are used to initialize the instance variables in a class definition when an instance is created. The nice thing about the inheritance mechanism is that when a subclass is created, a constructor from the superclass is always called. So we do not have to redo all of the work done in the superclass to initialize its variables, we can simply invoke the appropriate superclass constructor and have it initliaze the variables that the superclass gives to the subclass, and the subclass can take care of initializing the variables it adds to what the superclass gives it.