An abstract class in PHP OOP is a class that cannot be instantiated and is meant to be extended by other classes.
- TRUE
- FALSE
- nan
- nan
An abstract class in PHP OOP is indeed a class that cannot be instantiated directly and is intended to be extended by other classes. It serves as a blueprint or base class from which other classes can be derived. Abstract classes provide common functionality and structure that can be inherited and specialized by their child classes. By extending an abstract class, child classes can inherit its properties and methods and can also implement their own additional functionality. For further information, visit: http://php.net/manual/en/language.oop5.abstract.php
Loading...
Related Quiz
- After creating a MySQL database and executing your queries, you should close the connection to the MySQL server using the mysqli_close function like mysqli_close(______).
- Which of the following is a comparison operator in PHP?
- What is a common use case for the $_SERVER superglobal in PHP?
- A function in PHP is a block of code that can be _______ when required.
- How can we determine whether a variable is set?