Exam4Training

What would be the output ofthe following code?

What would be the output ofthe following code?

namespace MyFrameworkDB;

class MyClass {

static function myName() {

return _METHOD_;

}

print MyClass::myName();
A . MyFrameworkDBmyName
B . MyFrameworkDBMyClassmyName
C . MyFrameworkDBMyClass::myName
D . MyClass::myName

Answer: C

Exit mobile version