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

a _____ is a control that tells the computer what task to perform.
twice x, plus 5 is the same as -14
discuss the social implications of diseases
if the temperature is cool outside, the skin tends to in response
Which was NOT a primary motivation for Republicans to promote Congressional Reconstruction over those policies proposed by Lincoln and Johnson? A)Congress felt
which words make up the adverb phrase in this sentence? weather satellites circle above the earth, collecting information. a. circle above b. collecting informa
the geologic time scale originally ordered earth's rocks by ( 1point ) a . absolute age B. relative age c. composition d . decades and centuries
30 over 7 as a decimal
In the figure 1-1, what layer of Earths geoshere is labeled c
what is the main theme of shakespeare's play julius caesar? leaders need to make their own decisions and not listen to others. being loyal to one's country may