// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
public class Test {
   private static boolean flag;
   private static TestClass z7 = new TestClass("global");
   private static TestClass z8;
   private static TestClass z9;
   private static void sub() {
      TestClass z4 = new TestClass("sub local");
      TestClass z5;
      if(flag) {
         z5 = new TestClass("sub local partial if");
         TestClass z6 = new TestClass("sub local complete if");
      }
      z9 = new TestClass("global by sub");
      return;
   }
   public static void main(String[] args) {
      flag = (args.length > 0);
      TestClass z1 = new TestClass("main local");
      TestClass z2;
      if(flag) {
         z2 = new TestClass("main local partial if");
         TestClass z3 = new TestClass("main local complete if");
      }
      z8 = new TestClass("global by main");
      sub();
      System.gc();
   }
}
