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

Factor 4x^2 + 12x + 5
When a person writes under a pseudonym, they use _______ name. a. only their middle b. a fictitious c. only their last d. a birth
Tagging animals is indicative of which type of method to determine population size? a. mark/recapture b. direct observation c. sampling d. indirect observation
When you delegate someone to do something, you authorize them to do it. a. True b. False
The narrator of "Uncle John's Farm" is _____.
if two cars are identical except for the size of their engines, how will that affect their performance on the highway?
9 tens = ones ??????????????
When a country that is weak is shielded by a stronger, the weaker is a. viceroyalty, colony, commonwealth, protectorate
9, 10, and 11! I really suck at science...
you want to describe the harmonic motion of a swing. you find out that it takes 2 seconds for the swing to complete one cycle. what is the swings period and fre