/**
 * Java program to exercise JDisplay displayer
 */
public class JavaExerciser implements SomeInterface
   {

   private static boolean DEBUGGING = true;

   /**
    * test harness
    *
    * @param args not used
    */
   public static void main ( String[] args )
      {

      for ( int i=0; i<x.length; i++ )
         {
         out.println( " " + i );
         }
      // a comment containing " and ' \ / *
      int x = 45;
      x++;
      x = x * x / -3;
      int y = x > 5 ? x : 3;
      String s = "hello";
      s = "\"hello\"\nand greetings\n";
      // oops missing trailing " in following line
      s = ";
      char c = '\n';
      // oops missing training " in folowing line
      char c = '\

      /* another comment containing " and ' \ / * */
      x = somemethod ( y, 42 );
      /* a two-line
          comment containing " and ' \ / * */

      return;
      }

   }

} // unbalanced

/* unterminated comment