posted 18 years ago
Thank you. But I don't know why the K&B book say in page 104:
"This code will not compile because of the Exception declared on the
Animal eat() method. This happens even though, at runtime, the eat() method used would be the Dog version, which does not declare the exception."
Can you help me about is?
Thanks
Javier