|
Last change
on this file since 3186 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:
213 bytes
|
| Line | |
|---|
| 1 | // Test referencing protected data from parent of inner class.
|
|---|
| 2 |
|
|---|
| 3 | import java.util.Random;
|
|---|
| 4 |
|
|---|
| 5 | public class inner_data
|
|---|
| 6 | {
|
|---|
| 7 | private class Randomer extends Random {
|
|---|
| 8 | public long xxx ()
|
|---|
| 9 | {
|
|---|
| 10 | return seed;
|
|---|
| 11 | }
|
|---|
| 12 | }
|
|---|
| 13 | }
|
|---|
| 14 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.