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

A tall pea plant could _______. Select one: a. have the phenotype of Tt b. have the genotype of tall c. have the phenotype of tt d. have the genotype of Tt
why is an objects density expressed as a combination of two units
what is 8/32 is simplest form
simplify the square root of 9 ÷ by the square root of 25
what is the difference between "general will" and "individual will"? why does Rousseau claim the general will is always good?
how many pairs of parallel lines does a triangle have
Find the slope of the line: 5x+3y=6
number of outer rings in cesium and magnesium??
What is the least common multiple of 12, 20, and 18?
When is the product of two integers less than or equal to both of the two factors?