Hello ranchers !
I have quick question,
inner class = has-a class = delegation of task
class A class B {
{ || private C c;
void check () { || void add () {
|| c.add();
Inner i = new Inner(); } }
i.delegate();
}
just wanted to make sure that is that the same thing..
i know access modifiers along like static n outer does not have access to any of inner members but the reverse is true ..and all
thanks in advance
chintan
I have quick question,
inner class = has-a class = delegation of task
class A class B {
{ || private C c;
void check () { || void add () {
|| c.add();
Inner i = new Inner(); } }
i.delegate();
}
just wanted to make sure that is that the same thing..
i know access modifiers along like static n outer does not have access to any of inner members but the reverse is true ..and all
thanks in advance
chintan