package com.test;

public class SingletonTest
{
   public static void main(String[] args)
   {
      Singleton s1 = Singleton.getInstance();
      Singleton s2 = Singleton.getInstance();
      try
      {
         // To wait for VisualVM to analyze
         Thread.sleep(60000);
      }
      catch (InterruptedException e)
      {
         e.printStackTrace();
      }
   }
}