posted 13 years ago
here i have a code...
class A
{
int i=90;
}
class B extends A
{
int i=100;
}
class C extends B
{
int i=200;
void foo()
{
System.out.println(this.i);// C
System.out.println(super.i);// b
System.out.println(i);// now how i call i of A
}
}
Thanks
Living is easy with your eyes closed.....