Library View Topics Framed Contents Revised Topics Previous Topic Next Topic Search Search ResultsPrevious Topic MatchNext Topic Match Notes List Notes Print Download No PDF Handheld DisconnectedHandheld ConnectedHelp

X 3.1.2.3 Multiple Inheritance




X Multiple inheritance is when more than one class name is specified on the
X INHERITS phrase. With multiple inheritance, a class might inherit the
X same methods and instance data from different parents (if each of these
X parents have a common ancestor). In this situation, ("diamond
X inheritance") the subclass inherits only one set of method implementations
X and one copy of the instance data.


X When a subclass inherits two methods with the same name, the two methods
X must comply to the following conformance rules:



Previous Topic Next Topic © Copyright IBM Corp. 1991, 1998

IBM Library Server Copyright 1989, 2005 IBM Corporation. All rights reserved.





Return to library:   z/OS | z/OS.e | TPF | z/VSE | z/VM | IBM Hardware | IBM System z Redbooks
Glossary:   IBM terminology
Publications:   How to order publications
Readers:   Download IBM Library Reader | Download IBM Softcopy Reader | Download Adobe® Acrobat® Reader®
Library management:   Download IBM Softcopy Librarian
Contacts:   Contact z/OS


Adobe, the Adobe logo, Acrobat, the Acrobat logo, and Acrobat Reader are registered trademarks of Adobe Systems incorporated.