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

you are building a birdhouse that will have a volume of 128 in^3. the birdhouse will have the dimensions shown a. write a polynomial that represents the volume
why did the citizens of Richmond, Virginia feel upset about the actions at Fort Sumter ?
A toy rocket is shot vertically into the air from a launching pad 5 feel above the ground with an initial velocity of 80 feet per second. The height h, in feet,
Describe William Shakespeare in one word
which state capital is north of 40 degrees north latitude: Frankfort, denver, salt lake city, or columbus?
A 3.7 kg object is lifted to a Hight of 3 meters what is the potential energy of this object
A rocket is launched from the ground. The function  h(t)= -4.9t^2 +180t   models the height of a rocket launcher from the ground t seconds after it is launched.
What what handels full name
A 3.7 kg object is lifted to a Hight of 3 meters what is the potential energy of this object
A radio station transmits waves at a frequency of 120MHz an a speed of 300 million m/s. Calculate the wavelength.