Tip 40

You should be able to identify how many objects are on the heap after a code statement
or block executes.

Thread[] threads = new Thread[10];

When the above code is executed , there will only be one object in the heap. That is a single array object that holds ten thread references. The thread objects are neither created or assigned to these reference variables.

Language Fundamentals - Arrays

An article on arrays in Java.