=?utf-8?Q?=3A?= Bug when using program as key of mapping
On Sat, Oct 10, 2009 at 02:43:03PM +0800, 郭雪松 wrote:
> 'private' not.
>
> class A {
> int t;
> private class C1 {
> void create()
> {
> t=1; //it's ok
> }
> }
> hide_parent class C2 {
> void create()
> {
> t=1; //throw a error
> }
> }
> }
ahh, you want to lock out access to the outer class.
then why is C2 inside of A at all?
you could write:
class A { ... }
class C2 { ... }
greetings, martin.
--
cooperative communication with sTeam - caudium, pike, roxen and unix
searching contract jobs: programming, training and administration - anywhere
--
pike programmer working in china community.gotpike.org
foresight developer foresightlinux.org open-steam.org
unix sysadmin iaeste.(tuwien.ac|or).at caudium.org
Martin Bähr http://www.iaeste.or.at/~mbaehr/ is.schon.org
|