200-710 Web TestEngine demo

Exit VCEDump 200-710 Zend Certified Engineer
Question 4 of 35
0% complete
Q4 Single choice

Given the following code, how can we use both traits A and B in the same class? (select all that apply)

trait A {

public function hello() {

return "hello";

}

public function world() {

return "world";

}

}

trait B {

public function hello() {

return "Hello";

}

public function person($name) {

return ":$name";

}

}

Sign in to mark questions

Sign in to save marked questions and return to this demo.

Sign in