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

PLEASE HELP ME!What organ system is mitochondria similar to?
ASAP!!!A scientist examines a human cell with 23 chromosomes and hypothesizes that this cell is the product of meiosis. Which of these would provide further evi
solve the equation 2(9x-6)=6(3x-2)+2
PLEASES HELP ME OUT ON THIS
Fickel Company has two manufacturing departments Assembly and Testing & Packaging. The predetermined overhead rates in Assembly and Testing & Packaging
What do we call tiny seeds or encased particles in an organism? A. fissions B. buds C. regenerations D. spores
1. What do you think will happen if a certain population of an organism stopsreproducing? How will it affect balance in nature?2. On the other hand, what will h
What is the volume of the rectangular prism? (not drawn to scale) 4 in. 4 in. 6 in.
compare and contrast absolute and relative dating
i neeeeeeeeeddddd help