What is multiple inheritance in Perl?

21. What is multiple inheritance in Perl?

  1. When more than two different inheritance takes place in a single program.
  2. When a class inherits more than two classes
  3. When two classes inherit properties from a single class
  4. None of these

Answer: B) When a class inherits more than two classes

Explanation:

In multiple inheritance, one class inherits more than two classes in Perl.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.