Question: what is the difference between static and void in java?
Answer: static means that the method is associated with the class, not a specific instance (object) of that class. ... void means that the method has no return value. If the method returned an int you would write int instead of void .