switch ( k )
   {
   case 1:
      out.println( "hello" );
   case 2:
      out.println( "hi" );
   }