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

Your stage in the life cycle is not a factor to consider when determining your risk tolerance. true or false
how many remainders are possible when 7 is made as the divisor?
Which fraction is closet to one 2/3 or 4/5?
Vicki works 19 hours per week. her take home pay is $17.30 per hour. if vicki is able to save all of her earnings, how long will it take her to save at least $4
Which religious group is found in the western parts of eastern europe? a. roman catholics b. eastern orthodox c. muslims d. protestants
oftentimes criminals are diagnosed with?
Evaluate (x y)0 for x = 4 and y = 3. 0 1 2 7
which type of classroom enables students to attend lectures without being physically present with the teacher
7. A series circuit contains a generator, two devices, and connecting wires. The resistances of the two devices are 15 ohms and 10 ohms. The voltage supplied
How many types of muscles are in the body?