Prev Question
Next Question

Which of the following is NOT true about PHP traits? (Choose 2)

A.
A trait can implement an interface.

B.
A trait can declare a private variable.

C.
Traits are able to be auto-loaded.

D.
Traits automatically resolve conflicts based on definition order.

E.
Multiple traits can be used by a single class.

Prev Question
Next Question

Leave a Reply

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