When you create a String array and give it string values are the elements in the array just pointer to the string object or do the hold the object itself. So in below code are each of the element i.e. Days[0] just a pointer to a string objects which holds the string value or is the object in the array. Does each element point to a different string object or the same object? How would this differ from a primitive type array like int[] test= new int[6], do these actually hold the int values. Thanks
String[] days = new Array[7];
Days[0] = "Sunday";
Days[1] = "Monday";
Days[2] = "Tuesday";
Days[3] = "Wednesday";
Days[4] = "Thursday";
Days[5] = "Friday";
Days[6] = "Saturday";