I am currently studying for my Java final and on a practice exam am asked to define both the static and void keywords, I just wanted to know if any of you smart lads had anything you would tweak or add to my answers, which are as follows:
What does the static keyword mean?
Static variables and methods belong to a whole class, not to an object. Static methods can be invoked without using any object. Only one instance of a static field exists.What does the void keyword mean?
Void indicates that a method does not return anything.
Thanks in advance for any help, you guys are great.