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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 765 jeremybenn
// Class final_inner
2
// Generated on Tue Jan 18 13:35:19 PST 2000
3
//
4
 
5
class final_inner {
6
 
7
  void foo (final String s, final int i) {
8
      class bar {
9
          void printI () { System.out.println (s+i); }
10
      }
11
      new bar ().printI ();
12
  }
13
 
14
  public static void main (String[] arg)
15
  {
16
    System.out.println ("Testing class `final_inner'...");
17
    new final_inner ().foo ("The Number ", 666);
18
  }
19
}

powered by: WebSVN 2.1.0

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