An abstract class in PHP OOP is a class that cannot be instantiated and is meant to be ______ by other classes.

  • inherited
  • implemented
  • instantiated
  • extended
An abstract class in PHP OOP is indeed a class that cannot be instantiated directly and is meant to be inherited by other classes. It serves as a blueprint or template for creating child classes that extend the abstract class. Abstract classes provide common functionality and structure that can be shared among multiple related classes. By inheriting from an abstract class, child classes can utilize the defined methods and properties and add their own specific implementations. To learn more, visit: http://php.net/manual/en/language.oop5.abstract.php
Add your answer
Loading...

Leave a comment

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