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

As a food handler you are asked to prepare a salad but have a small cut on your hand. You should
PLLLLLLZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ HELPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP Find the value of n.
Which best describes getulio vargas, who ruled Brazil during the Great Depression? A) he was a strong leader who shared power with a legislature. B) he was a
China underwent many reforms in the 1970s, which reform(s) do you feel were the most influential in making China an economic powerhouse
As of 2005, United States policies to respond to natural disasters such as Hurricane Katrina proved to be inadequate. T F
Frogs exchange gasses through the ____________________ and the ______________________.
Please show me step by step so I can learn to explain it to my son.
If f(x)=3x+1 and g(x)=2x-5, what is f(g(x)?
What stage does cytokinesis generally overlap with in the typical cell cycle?
Find the best word to complete the sentence. Read the sentence. In Antigone, King Creon orders the dead body of his nephew Polyneices to be abandoned on the bat