I was having a look through the servlet-api.jar source code and found out (to my utter bewilderment) that javax.servlet.GenericServlet implements javax.servlet.ServletConfig.
Now, I don't boast to be an OOP scholar, but I do remember reading that although OOP provides the concept of inheritance, inheritance as a feature should be applied only when the child has an IS-A relationship with the parent.
"GenericServlet IS-A ServletConfig" does not sound right to me. Is any one aware of why was such a design decision taken ? (Apart from exposing ServletConfig's methods and attributes to GenericServlet) ?