diff options
Diffstat (limited to 'tests/new/access/psub/SubC.java')
-rw-r--r-- | tests/new/access/psub/SubC.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/new/access/psub/SubC.java b/tests/new/access/psub/SubC.java new file mode 100644 index 000000000..588a2ab2c --- /dev/null +++ b/tests/new/access/psub/SubC.java @@ -0,0 +1,11 @@ +package psub; + +import pc.C; + +public class SubC extends C { + public char[] getMyPackage() { return "psub".toCharArray(); } + + public String getRealPackage() { + return new String(getMyPackage()); + } +} |