How many objects are created by this declaration?

String[] array = new String[10];

1
  • 0
  • 11
  • 10

Each object is created using "new". When creating an array that holds references to objects, all of the slots in the array are initialized to null.