Zend
200-710 · Question #30
What would be the output of the following code? namespace MyFramework\DB; class MyClass { static function myName() { return __METHOD__; } } print MyClass::myName();
Sign in or unlock 200-710 to reveal the answer and full explanation for question #30. The question stem and answer options stay visible for context.
Question
What would be the output of the following code?
namespace MyFramework\DB;
class MyClass {
static function myName() {
return METHOD;
}
}
print MyClass::myName();
Options
- AMyFramework\DB\MyClass\myName
- BMyFramework\DB\MyClass::myName
- CMyFramework\DB\MyClass->myName
- DMyClass::myName
Unlock 200-710 to see the answer
You've previewed enough free 200-710 questions. Unlock 200-710 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.