ExamVeda
Login
Home
This question belongs to PHP Object Oriented Concept
Object Oriented Concept
?

Which one of the following variable cannot be used inside a static method?

Answer & Solution
Correct Answer: Option A
By definition, static methods are not invoked in the context of an object. For this reason, static methods and properties are often referred to as class variables and properties.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.