John Quach wrote:Also, since Object is every class's superclass, is it possible to create an array of Objects that can take in many different types of objects?

This is a completely unrelated question, which really ought to have been posed in a distinct thread. However, the answer is yes. Anything that extends Object can be stored as an element in an Object[] array.

i recognize it now since i have written similar code on occasion. i will bet my last dollar that anim is at least package access. if you have ever created a "child" class passing it a reference to "this" in the constructor, then tried to access a private variable of the "parent" class, the compiler will tell you there are 2 options. make the variable package access or write a get method.