Answers for "extend multiple classes in php"

PHP
2

extend multiple classes in php

// this is NOT allowed
Matron extends Nurse, HumanEntity
  
You cannot have a class that extends two base classes. You could not have.

You could however have a hierarchy as follows...

Nurse extends HumanEntity 
Matron extends Nurse
Posted by: Guest on October-16-2020

Code answers related to "extend multiple classes in php"

Browse Popular Code Answers by Language