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

What are two different ways to describe and label the layers of the Earth?
A 1 digit number and a 3 digit number have a sum of 205.  The same two number have a difference of 195, a product of 1,000 and a quotient of 40.  What are the t
Rewrite the function c(x) =9(x+3) using the distributive property
What is a direct combination reaction?
What two major processes are involved in the oxygen cycle?
What two major processes are involved in the oxygen cycle?
How is the numeral 35.012 written in words and why
When was World War I?
Does the depth of a pan affect how water freezes?
How many minutes are in 36 hours?