So, why is main static?
main needs to be executable by the interpreter without instantiating an object from the class containing main
Many other static methods can be found in Java API
Previous slide
Next slide
Back to first slide
View graphic version