Rajeev Trikha wrote:Am I right is saying that this will create just one object for garbage collection until we populate a[0] and a[1]?
a[0] and a[1] are already initialized as int arrays with 2 elements in that statement. But none of the objects will be eligible for GC as the objects are still referenced by a...