|
Last change
on this file since 3103 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:
695 bytes
|
| Line | |
|---|
| 1 | // Class inner4
|
|---|
| 2 | // Generated on Tue Dec 7 11:43:48 PST 1999
|
|---|
| 3 | //
|
|---|
| 4 |
|
|---|
| 5 | class inner4 {
|
|---|
| 6 | static private int xyz () { return 3; }
|
|---|
| 7 | private String f;
|
|---|
| 8 |
|
|---|
| 9 | String p () {
|
|---|
| 10 | return "public String p()";
|
|---|
| 11 | }
|
|---|
| 12 |
|
|---|
| 13 | private String pp (int x, byte y, char c) {
|
|---|
| 14 | return "private String pp("+x+", "+y+", "+c+")";
|
|---|
| 15 | }
|
|---|
| 16 |
|
|---|
| 17 | void foo () {
|
|---|
| 18 | t xxx = this.new t();
|
|---|
| 19 | xxx.bar ();
|
|---|
| 20 | pp (3, (byte)34, 'C');
|
|---|
| 21 | }
|
|---|
| 22 | public static void main (String[] arg)
|
|---|
| 23 | {
|
|---|
| 24 | System.out.println ("Testing class `inner4'...");
|
|---|
| 25 | new inner4().foo();
|
|---|
| 26 | }
|
|---|
| 27 | class t {
|
|---|
| 28 | void bar () {
|
|---|
| 29 | System.out.println (p ());
|
|---|
| 30 | System.out.println (pp (3, (byte)34, 'C'));
|
|---|
| 31 | System.out.println (xyz ());
|
|---|
| 32 | }
|
|---|
| 33 | }
|
|---|
| 34 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.