Something similar to what's already been mentioned - create a Singleton class which encapsulates the static variable and its instantiation. Access the class (or singleton) via a static method which...