A class that cannot be instantiated and is intended to be inherited by other classes is known as a ________ class.

  • 'abstract'
  • 'final'
  • 'static'
  • 'interface'
An 'abstract' class in PHP is meant to be inherited by other classes. It can't be instantiated on its own and often contains abstract methods to be implemented by child classes.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *