No it is right.
you have two arrays, one able to hold references to Boolean objects and one holding boolean primitive values.
If you don't initialize each element of the array they are initialized by default. In Object arrays, each element is initialized to null and in primitive arrays, each element is initialized to some value, in the case of boolean array that value is false.
So when you query the value of the second element of each array that you haven't initialized explicitely, they give you their default value which are null for b1[1] and false for b2[1].
HIH
------------------
Valentin Crettaz
Sun Certified Programmer for
Java 2 Platform