Include all the stuff from the previous definitions here. So we can rewrite our last constructor as follows without changing its meaning. Sometimes a single variable is associated with a whole class of objects, and does not vary between individual objects. Static fields are also called class variables. If we want to look at the variable numberOfHumans from another class, we write it in the usual notation, but we prefix it with the class name rather than the name of a specific object.
Methods can be static too.
A local variable is lost forever as soon as the method in which it's declared comes to an end.