Posted by: Pdfprep
Post Date: November 3, 2020
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