o/p :-
Inside Foo Constructor
Inside Bar Show
Inside Bar Constructor
My doubt is why is it calling method of Bar class , when i do this.show() rather show() of Foo Class in Foo constructor the Bar object is still not completely created. But it seems
polymorphism is not depended up on object creation.
Please explain the above behaviour , Thanks in advance
[ March 03, 2008: Message edited by: Neha Mohit ]