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

Once again, Declan has failed to spike the ball over the net. His volleyball team is getting annoyed with him even though he is great during the rest of the gam
¡tengo que (9) maquillarme porque voy a salir con mi novio y quiero estar bonita! —dijo marina. —¡tengo que (10) ducharte ya, marina! ¿cuándo terminas?
Which possessive pronoun correctly replaces the underlined word in the sentence? The costume I am borrowing for the parade is Molly's. A. yours B. ours
Describe how napoleon's invasion and conquest of spain in the peninsular war of 1808 triggered the revolutions in latin america
The extent to which others in the same situation behave in the same way is known as
What is the word that means “ made up of many cultures ”
This type of art is when the artist renders objects or person are in geometric forms. it looks like overlapping planes of shapes.
Simplify -3xy 3 + 7xy 3 + (-xy 3) + (-3xy 3).
Find the quotient. (6x 2 - x - 40) ÷ (5 + 2x) 8 - 3x 3x + 8 3x - 8
Write an expression equivalent to the following: 4x + 20 b. 1/5x + 10