summaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.lang/final_inner.java
blob: 40905b1fa7e7734ff1a1766a7df46131ff4885e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Class final_inner
// Generated on Tue Jan 18 13:35:19 PST 2000
//

class final_inner {

  void foo (final String s, final int i) {
      class bar {
          void printI () { System.out.println (s+i); }
      }
      new bar ().printI ();
  }

  public static void main (String[] arg)
  {
    System.out.println ("Testing class `final_inner'...");
    new final_inner ().foo ("The Number ", 666);
  }
}