If your object must inherit behavior from a number of sources you must use a/an

If your object must inherit behavior from a number of sources you must use a/an Correct Answer Interface

An interface in PHP consists of methods that have no implementations, i.e. the interface methods are abstract methods. The methods in the interfaces must have public visibility scope. The interfaces are different from classes as the class can inherit from one class only whereas the class can implement one or more interfaces.

Related Questions

People should be held accountable for ther own behavior, and if holding people accountable for their own behavior entails capital punishment , then so be it . However , no person should be held accountable for behavior over which he or she had no control. Which of the following is the most logical conclusion of the argument above?
Which keyword must be used to inherit a class in Java?
Erratic Behavior occurs when an individual acts in a manner that lacks consistency, regularity, and uniformity. Which situation below is the best example of Erratic Behavior?
You are the administrator of contoso.local domain. You organize the domain into organizational units as shown in the EXHIBIT. You configure the local security options and other settings for the default domain policy object You delegate administration of Michigan and Florida OU. You want to prevent those administrators from creating any other group policy objects with settings that conflict with those you configured.What should you do?