We were in Cape Cod, and one of my boys wanted to go kayaking. There were very few rental places still open, but Cape Cod Waterways was open, and only 10 minutes away from where we were staying, so we ended up kayaking on the Swan Pond River, up to Swan Pond (the Swan Pond in Dennis, by Route 134)....
Arrays.sort( aryNums ); First you type the word Arrays, then a dot. As soon as you type a dot, NetBeans will display a list of things you can do with arrays. Type the word sort. In between a pair of round brackets, you then put the name of the array you want to sort.
Number 1 is going to be the first element of the array, 2 the second. We go through the array and print its elements. An array has a Length property, which gives the number of elements in the array. Since arrays are zero based, the indexes are 0..length-1.umber 1 is going to be the first element of the array, 2 the second. We go through the array and print its elements. An array has a Length property, which gives the number of elements in the array. Since arrays are zero based, the indexes are 0..length-1.