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
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments