Mcchoconel Mcchoconel
  • 01-03-2017
  • Physics
contestada

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

Respuesta :

Аноним Аноним
  • 01-03-2017
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.
Answer Link

Otras preguntas

Which of the following pieces of evidence was NOT used to support the Theory of Continental Drift? A.The shape of the continents appears to fit together like a
A speaker says: You know, I'm afraid you're just too loud. Like, seriously, you need to calm down. Which of the following is the correct way to transcribe this
Which of these is the BEST answer for why science is important? Science can take us to other planets, even if it’s only through a telescope. Science is part of
does photosynthesis remove take or use co2 from atmosphere?
The function f(x) = 34,000(1.05)* can be used to determine Noah's cost of living in Houston over time. What does the 1.05 represent? A The cost of living will i
prano se bhi Pyara answer​
Can Poor mental health be long-lasting? Why?
PLEASE HELP Choose the most appropriate response to the following What would you take to go to Paris? A. un bus B. un avion C. un train D. une voiture What woul
by how much is 21 greater than 13.969​
whats the answer i need help please