Machine-translated by Google. Questions are authored in English.
Top

Discussion

Multiple inheritance allows a class to inherit features from more than one superclass.

  • A.True
  • B.False

Answer: A

Correct answer: True

Multiple inheritance lets a class take features from several superclasses, and UML permits it. The practical difficulty is conflict - two superclasses supplying the same feature differently - which is why several implementation languages restrict inheritance to one class and use interfaces for the rest.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.