Home »
MCQs »
Perl Programming MCQs
What is multiple inheritance in Perl?
21. What is multiple inheritance in Perl?
- When more than two different inheritance takes place in a single program.
- When a class inherits more than two classes
- When two classes inherit properties from a single class
- 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.