|
Last change
on this file since 2 was 2, checked in by bird, 23 years ago |
|
Initial revision
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
|
File size:
256 bytes
|
| Line | |
|---|
| 1 | // Class anonarray3
|
|---|
| 2 | // Generated on Tue Feb 8 19:18:10 PST 2000
|
|---|
| 3 | //
|
|---|
| 4 |
|
|---|
| 5 | class anonarray3 {
|
|---|
| 6 | private static final int[] foo (int x) {
|
|---|
| 7 | return new int[] { x+1 };
|
|---|
| 8 | }
|
|---|
| 9 | public static void main (String[] arg)
|
|---|
| 10 | {
|
|---|
| 11 | System.out.println (foo (34)[0]);
|
|---|
| 12 | }
|
|---|
| 13 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.