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

how did Mark Twain's childhood influence his writing as an adult?
The city wants to buy a new parcel of land to build a new recreational park. What environmental factors need to be investigated before purchasing the land? ----
European navigators named many of the stars and constellations they observed after: scientific instruments Roman gods Egyptian kings
find the LCM of 21y^3 and 63y^4
PLZZZZZ NEED HELP!!!!!
In a particular set of experimental trials, students examine a system described by the equation given below. For experimental control, in these trials all quant
2. What's the fraction 18⁄24 reduced to its lowest terms? A. 3⁄4 B. 24⁄18 C. 9⁄12 D. 18⁄24
The pie store is having a 10% off sale on all of its pies. If the pie you want regularly costs $18, how much would you save with the discount?
On a movie set, an archway is modeled by the equation y = -0.5x2 + 3x, where y is the height in feet and x is the horizontal distance in feet. A laser is direct
what are the two factors that causes the cycle of the seasons