My Question :
Suppose
IA--->>>An Interface
void func();
A---->>>Abstract Class implementing IA
void func(){}
B---->>Class extending A
void func(){}
C---->>Class extending B
void func{}
Now what i am doing .... i made an Object of C class.....
C c = new C();
IA ia = c;
now if i want to call ....
ia.func();
which function will be called......
i want to call func() of B class ......
whether i have to typecast the interface for that....any other solution....or it is some what wrong implementation....Solutions are welcome....