What is multilevel inheritance in Perl?

22. What is multilevel inheritance in Perl?

  1. A subclass of a class is inherited by another class
  2. A class inherits properties from multiple classes
  3. Multiple classes inherit properties from a class
  4. None of these

Answer: A) A subclass of a class is inherited by another class

Explanation:

In multilevel inheritance, a subclass of a class is inherited by another class in Perl.

Comments and Discussions!

Load comments ↻






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