Object objArray3 = {null,null}; // error
In this line you intend to declare and initialize array at the same time. But you have not specified that objArray3 is a variable of type array.
Object objArray4 = new Test[2];
At this line there is no compiler error, becuase an array can be converted to a class, if the class is an Object. But if you try to access objArray4[0] etc it will be a compiler error.
Hope this helps,
------------------
Asma Zafar,
Sun Certified Programmer for Java2 Platform
[This message has been edited by Asma Zafar (edited September 19, 2001).]