T
thomson
Hi all,
Can any one tell me what happens when an object is casted to
an interface, somthing bit deeper,
the case is i do have an interface Ifunction which has got one method
display(), and i have implemented the interface in one class and i have
implemented the display function in the class,
So when i say ((Ifunction)object).display(), it calls the function
in the class which i have written.
So can any one tell me casting an object to interface , what happens
behind the scene
Thanks in Advance
Regards
thomson
Can any one tell me what happens when an object is casted to
an interface, somthing bit deeper,
the case is i do have an interface Ifunction which has got one method
display(), and i have implemented the interface in one class and i have
implemented the display function in the class,
So when i say ((Ifunction)object).display(), it calls the function
in the class which i have written.
So can any one tell me casting an object to interface , what happens
behind the scene
Thanks in Advance
Regards
thomson