Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
What does Static stands for?
What is the purpose of declaring a method Static, I've heard that it's for eliminate inheritance in Java. But I don't have that really clear.
Craig DennisTreehouse Teacher
I find this easiest to think of as a property of the blueprint, or
class, and not requiring an
object, or instance, to be used.
We'll do more with them in the near future.
Chris Shaw26,676 Points
Have a read of the following link which contains a lot more information than what I can put into a single reply.
Hope that helps.
Axel McCode13,869 Points
Hi Cesar! After a quick google search for this question, I found this Stack Overflow post.
Take a look through the answers, It helped me better understand static methods/variables in Java, hope this helps you as well! :)