Home »
MCQs »
Perl Programming MCQs
Which of these are valid type of inheritance in Perl?
20. Which of these are valid type of inheritance in Perl?
- Multiple inheritance
- Multilevel inheritance
- Hierarchical inheritance
- All of these
Answer: D) All of these
Explanation:
Common types of inheritance in Perl are:
- Simple inheritance
- Multiple inheritance
- Multilevel inheritance
- Hierarchical inheritance