String a=new String;
The above line how many objects are created.
Only one array object is created on the heap which is referenced by variable a. Note that , above statment does not call create new instance using new keyword nor assigned any value to string array. hence only one object is created on the heap