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 the author affect literature in the 1920's?
0.105 is 0.05 times a number. Let x represent the unknown number. Which pair of equations are both true? ​ 0.105x=0.050.105x=0.05 and ​ x=0.00525x=0.00525
20. a comma-splice sentence may be corrected by (points : 1) ending the sentence where the comma is and starting a new sentence. replacing the comma with a semi
Como ganar en agar.io
Summarize saturated fat
Which of the following is formed from erosion A) lake B) delta C) stream D) aquifer
What is an apse? a. the section of the sanctuary with the altar b. a semi-circular section of the sanctuary covered by hemispherical vault c. the long, narrow
50% of all cakes were party cakes 1/5 fruit cakes the remainder sponge cakes what percentage of sponge cakes were made
A chromosome that is exposed to a mutagen breaks into two pieces. A portion off one of the ends is removed before the two pieces rejoin. The mutation that occu
victims of a panic attack can have symptoms that mimic a(n) a. epileptic seizure. b. depression. c. migraine headache. d. heart attack.