(recall that arrays in java always start indexing at )andlike every array in javaall the cells in this array are of the same type--double arrays are objects arrays in java are special kinds of objects in factthis is the reason we can use the new operator to create new instance of an array an array can be used just like any general object in javabut we have special syntax (using square brackets"[and "]"to refer to its members an array in java can do everything that general object can since an array is an objectthoughthe name of an array in java is actually reference to the place in memory where the array is stored thusthere is nothing too special about using the dot operator and the instance variablelengthto refer to the length of an arrayfor exampleas " length the nameain this case is just referenceor pointerto the underlying array object the fact that arrays in java are objects has an important implication when it comes to using array names in assignment statements for when we write something like ain java programwe really mean that and now both refer to the same array soif we then write something like [ then we will also be setting the number [ to we illustrate this crucial point in figure figure an illustration of an assignment of array objects we show the result of setting " [ ;after previously setting " ;