?
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.
Join the Discussion
Login to post a comment or share your explanation.
Login