posted 23 years ago
Hi Smriti,
You are correct in assuming that the Compiler will most likely complain about assigning instance Object to instance Thing. I think this was corrected in the book errata ...
Correct problem:
Using the above corrected code, the results stated by Khalid are correct.
Regards,
Manfred.