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

Add and simplify 9/16 + 1/2= ?
how many times does 6 go into 312
how many times does 6 go into 312
Expand the expression 2(r - 4) + 5(r + 2). Express your answer in simplest form
what is 54 times 3 times 71 minus 45 plus 102 divided by 6 times 25 subtracted by 34 times 141 plus 32 subtracted by 67? Also put 578402/10856 in simplest form.
what is the density of a orange if its mass is 158.2 g and the volume is 106 mL
what is it called when oxygen passes into the capillaries that surround these sacs?
if cosx=1/12 and sinx>0 find tan2x
4x^2-28x+49=5 solve the quadratic by completing the square
A rectangular bedroom floor has an area of 100 square feet and a length of 10 feet. What is the perimeter of the floor?