Specifications
Sun Services
Java™ Programming Language
Module 5, slide 14 of 15
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision F
Array Resizing
• You cannot resize an array.
• You can use the same reference variable to refer to an
entirely new array, such as:
int[] myArray = new int[6];
myArray = new int[10];










