source: Dan Chisholm
What is the result of attempting to compile and run the program?
Ans: d
Doubt: inside run, why not
String sa of class A is used, shadowing the String sa of class B?
************************************
What is the result of attempting to compile and run the program?
Ans: d
Doubt: inside run, why not String sa of class A is used, shadowing the String sa of class B?
Thanks,
Gitesh

[ February 08, 2008: Message edited by: Gitesh Ramchandani ]