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

why is it useful for historians to craft historical narratives
¿Lo qué sabes sobre el coronavirus? 4. La enfermedad es transmitida por el __________________, contacto físico con personas _______________ y _____________.
Darío buys applesauce cups for a family reunion. He needs 23 cups, and he buys them in packs of 6. How many packs does Dario need?
As of December 31, 2020, the equipment had a salvage value of $4,000 and is expected to produce 100,000 additional units over its remaining useful life. Urithir
I ______can sing, but I can play the guitar.
Please answer this correctly
Who demands that Romeo be put to death in act 3
Teo has a combination of quarters, loonies, and toonies in his pocket. He knows he has 9 coins in total and that he has at least one of each type of coin. a) Wh
Mr. Jones is taking his family to see a play. There are 10 people going to the play, and they take 2 cars. Mr. Jones pays $5.50 for parking for each car. He pay
Which element is found in nucleic acids but not in amino acids