Using a Static Variable

In Practicum you were introduced to a use for a static variable, whereby all instances of a certain class in a program shared the same variable. This allowed Patron objects (i.e. Patron instances) to be created with auto-generated unique id numbers. You have also already seen and used static methods with the Test class's ck methods (e.g., ckEquals). Static variables and methods are not associated with a specific object but with a specific class.

This exercise will let you experiment with the static variable nextPatronID