View Full Version : Exceptions on use of array

12-09-2011, 09:17 PM
Trying a simple OO code set where I initialize an array of penguin objects with two instances of a penguin object and iterate through the list to call a method on the object. There is a custom method called flapWings() on the penguin class.

1. When the exception occurs, it's unable to report back to the server via the various methods (thus my post here)

2. While the syntax seems to work, the exception occurs non-the-less.

If you'd like the source code, let me know. Alice3 files are not supported here.

I'm running this on a Macbook Pro with OS X 10.6.8. Plenty of memory and disk space. I set the language to Java as I wanted to see more detail but the exception occurs in either language.