Any array reference may be assigned to a reference of type Object (class), Serializable (interface) or Cloneable (interface).
An object array reference may be assigned only to another object array reference if and only if the element type of the object array reference you are assigning has an IS-A relationship with the element type of the object array reference you are assigning it to.
A primitive array reference may only be assigned to an other primitive array reference if and only if both references are of the same type.
[ March 12, 2008: Message edited by: Jelle Klap ]
Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.