OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [testsuite/] [libjava.lang/] [Shazam.java] - Blame information for rev 765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 765 jeremybenn
import java.io.*;
2
 
3
public class Shazam {
4
 
5
  private static String shazam ()
6
    {
7
        try {
8
            return "shazam";
9
        } finally {
10
            System.out.println ("The next line should say \"shazam\"");
11
        }
12
    }
13
 
14
  public static void main (String[] args)
15
    {
16
        System.out.println (shazam ());
17
    }
18
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.