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

Sharon suspects that her brother's penny is unfair. She flips it 50 times and heads comes up 40 times. Based on these trials, the probability that a flip of thi
Which sentence uses pronouns correctly? A. Jeffrey and me like to go out with the rest of the gang when she is in town. B. Jeffrey and I like to go out with the
Given g(x) = x^2 - x, find g (2/3).
Mikayla and her two friends made a pizza and cut it into 8 equal sized slices. Of makayla and her friends ate 5 slice of pizza what decimal represents the porti
If a quadrilateral with a point of (-5,-2) where to be reflected across the x-axis, would that point be (-5,2) or (-2,5)?
Please help me out....
PLEASEEEE HELLLPPPPP
explain the night life of florida​
In 2011, it was estimated that the number of U.S households which had dogs as pets was 4.33 x 10^7 and the average number of dogs per household was 1.6 based on
If sin theta =0.3090, what is the approximate value of csc theta