public class TestSwitchSelect
{
    public static void main(String[] args)
    {
        switch (type) <caret>{
         case 1:
            break;
      
         case 2:
            break;
         default:
            break;
      }
    }
} 