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.
Loading...
Related Quiz
- You are writing a PHP script and you have a variable that can have many different values. You want to execute different blocks of code depending on the value of this variable. How would you do this using a switch statement?
- You are developing a login form for a web application. To enhance security, which of the following techniques should you implement to verify user credentials?
- Regular Expressions in PHP are case-sensitive.
- The fwrite() function in PHP is used to ______.
- How can you get the current date and time in PHP?