
Inheritance in Java • 209
The class A and class B together form one level, class B and class C together form another level and so on.
For class B, class A is the parent and for class C, class B is the parent; thus in this inheritance level, A can
be called the grandparent of class C, and class C the grandchild of class A.
8.2.3 Multiple Inheritance
In a multiple inheritance, a child can have more than one parent, i.e., a child can inherit properties from
more than one class. Diagrammatically, this is as shown below:
Class A
Class C
Class B
Unfortunately, Java does not support the multiple inheritances through classes though it supports ...