Which of the following advanced OOP features is/are not supported by PHP?
i) Method overloading
ii) Multiple Inheritance
iii) Namespaces
iv) Object Cloning
Which version of PHP introduced the advanced concepts of OOP?
Which one of the following is the right way to clone an object?
The class from which the child class inherits is called ________
i) Child class
ii) Parent class
iii) Super class
iv) Base class
The class from which the child class inherits is called ________
i) Child class
ii) Parent class
iii) Super class
iv) Base class
Which of the following is/are true for an abstract class?
i) Abstract classes in PHP are declared with the help of abstract keyword.
ii) A class is declare abstract by using the keyword implements.
iii) It is a class that really isn’t supposed to ever be instantiated but instead serves as a base class.
iv) Attempting to instantiate an abstract class results in an error.
Which of the following is/are true for an abstract class?
i) Abstract classes in PHP are declared with the help of abstract keyword.
ii) A class is declare abstract by using the keyword implements.
iii) It is a class that really isn’t supposed to ever be instantiated but instead serves as a base class.
iv) Attempting to instantiate an abstract class results in an error.
If one intends to create a model that will be assumed by a number of closely related objects, which class must be used?
If one intends to create a model that will be assumed by a number of closely related objects, which class must be used?
If your object must inherit behavior from a number of sources you must use a/an