Hi All-
Working my way through S&B and ran into a behavior I don't understand.
Here's the code:
This code compiles fine. When trying to run the code, however, I get a runtime exception as follows:
My question is this: If I remove the package statements from this file and the associated Zoo.java file, the code runs fine. With the package statements, I get the runtime error above.
I can't find an explanation of this behavior anywhere. Can someone enlighten me?
Thanks,
MArk