Retro68/gcc/libjava/testsuite/libjava.lang/Shazam.java
Wolfgang Thaller aaf905ce07 add gcc 4.70
2012-03-28 01:13:14 +02:00

19 lines
289 B
Java

import java.io.*;
public class Shazam {
private static String shazam ()
{
try {
return "shazam";
} finally {
System.out.println ("The next line should say \"shazam\"");
}
}
public static void main (String[] args)
{
System.out.println (shazam ());
}
}