Ask Question
5 March, 02:58

Can you access an instance variable from a static method? explain why or why not.

+3
Answers (1)
  1. 5 March, 03:25
    0
    The reason a static method can't access instance variable is because static references the class not a specific instance of the class so there is no instance variable to access.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Can you access an instance variable from a static method? explain why or why not. ...” in 📙 Physics if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers