What would be the output ofthe following code?

Posted by: Pdfprep Category: 200-710 Tags: , ,

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

Leave a Reply

Your email address will not be published.