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

Solve for x.y = mx+b
When 10-year-old children repeatedly practice the precise motor skills involved in texting, the cortical areas directly controlling these motor skills are likel
Read the excerpt below and answer the question. "His eyes turned blood-shot, and he was metamorphosed into a raging fiend." In the excerpt above, the descriptio
In mexico and japan, jana noticed that it seemed easy to convince people to work together for the good of the group. how would you characterize this trait?
Miss Martin has 7000 in her savings account. Alonso has 1/10 as much money in his account as Miss Martin. How much money does Alonso have in his account.
something that relates inputs to outputs
How many neutrons are in the calcium-47 nucleus?
Five times the sum of some mumber plus 3 is equal to 8 times the number minus 9a.) -8b.) 8c.) -24d.) 24
What is a theocracy? A. a democracy based on the Bible B. a government run by religious leaders C. an oligarchy which makes decision based on tradition D
What are the key characteristics of a Shakespearean sonnet ?