javier berbel

Greenhorn
+ Follow
since Apr 13, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by javier berbel

Hi,

thank you very much!


This solved my doubt.


Javier
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
Hello, a question about overriding.

in K&B "exam watch" page 104 i compile ok. why?

And later, page 111, at table 2-3 it say:

exceptions Can reduce or eliminate in overridden methods.

Can anybody explain me this?

Thank you!