Can a subclass have multiple superclasses in a Generalization and Specialization hierarchy? Explain.

  • No, a subclass can only have one superclass
  • No, multiple superclasses violate normalization principles
  • Yes, but it leads to data redundancy
  • Yes, through multiple inheritances
In a Generalization and Specialization hierarchy, a subclass can have multiple superclasses through multiple inheritances. However, this approach introduces complexities and potential issues like ambiguity and data redundancy.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *