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

Who is your hero? If you could live anywhere, where would it be? What is your biggest fear? What is your favorite family vacation? What would you change abo
what does equal (+3) * (+9)=
Exchanged all of the securities for shares of preferred stock, which were not mandatorily redeemable. Market values at the date of the exchange were for the sec
What are the names of the two Israelite kingdoms? * Assyrians & Chaldeans Israel & Judah Persia & Judea none of the above
can you help me understand Accounting
What kind of triangle is this?
what does the author want us to know? A poem for my librarian Mrs. Long
During a dry season it did not rain for128 days. How many weeks and days is this?11​
1. According to the passage, what is the mobile technology policy at Freeport High School in Portland, Maine? A. Students are allowed to use electronic tablets
I NEED HELP OMG PLSSSS