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

why did some members of congress oppose lincoln ten percent plan?
what is the word form to 40,023,032
Hi!! i just started school and was having trouble with this question from my english paper please if you know the answer take the time 2 answer my question i
Which is the best way to rewrite this sentence in active voice? A good investment plan can now be gotten by all laborers. a. All laborers could now get a good
Is 16:12 and 64:60 equivalent?
in the late 1800s, the first state government reform legislation regarding railroad practices addressed
what is 6421 in scientific notation
Who led most of the Italian Renaissance city-states? a. doges b. artists and architects c. monarchs d. powerful merchant families
Definition for pathology
21,000 round to the nearest ten thousand