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] - Rev 765

Compare with Previous | Blame | View Log

// 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);
  }
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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