mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-11 19:49:32 +00:00
19 lines
289 B
Java
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 ());
|
|
}
|
|
}
|