Write a test program to determine when constructors are run for class objects that initialize global and local variables.