static makes everything shared.
essentially the metadata of your class.
Static Variables
its a variable or method shared across all classes. Changing this static variable will change the static variable in all other objects
Static Methods
will run from the variables in the class itself instead of the current object
Example
Requirements:
- Static variables used can only be use in static methods.
- returning static variables must not have a
this.
before it - static variables should be private is possible