|
Last change
on this file since 1392 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:
501 bytes
|
| Line | |
|---|
| 1 | // Class update_outer
|
|---|
| 2 | // Generated on Thu Nov 18 21:37:21 UTC 1999
|
|---|
| 3 | //
|
|---|
| 4 |
|
|---|
| 5 | class update_outer {
|
|---|
| 6 |
|
|---|
| 7 | private String foo;
|
|---|
| 8 |
|
|---|
| 9 | class update_outer_inner {
|
|---|
| 10 | void test () {
|
|---|
| 11 | foo += " M$";
|
|---|
| 12 | System.out.println ("foo=`"+foo+"'");
|
|---|
| 13 | }
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 | }
|
|---|
| 17 | void foo ()
|
|---|
| 18 | {
|
|---|
| 19 | foo = "780";
|
|---|
| 20 | update_outer_inner inn = this.new update_outer_inner ();
|
|---|
| 21 | inn.test ();
|
|---|
| 22 | }
|
|---|
| 23 | public static void main (String[] arg)
|
|---|
| 24 | {
|
|---|
| 25 | System.out.println ("Testing class `update_outer'...");
|
|---|
| 26 | new update_outer().foo ();
|
|---|
| 27 | }
|
|---|
| 28 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.