Which of the following is NOT true about PHP traits? (Choose 2)
Which of the following is NOT true about PHP traits? (Choose 2)
A . Multiple traits can be used by a single class.
B . A trait can implement an interface.
C . A trait can declare a private variable.
D . Traits are able to be auto-loaded.
E . Traits automatically resolve conflicts based on definition order.
Answer: B, E
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments