\begin{slide}{Ein selbst-druckendes Programm}

\begin{small}
\begin{verbatim}
class Self {
  public static void main (String [] argv) {
    int [] a = { 83, 121, 11, ... }
    System.out.println ("class Self {");
    System.out.println 
      ("  public static void main (String [] argv) {");
    System.out.print ("int [] a = ");
    for (int i = 0; i < a.length; i++) {
      char sep = (i > 0) ? ',' : '{';
      System.out.print (sep + " " + a[i]);
    }
    System.out.println (" };");
    for (int i = 0; i < a.length; i++) {
      System.out.print ((char) a[i]);
    }
  }
}
\end{verbatim}
\end{small}

\end{slide}
