Section 7.15 Class Arrays

• Class Arrays (p. 285) provides static methods that peform common array manipulations, including sort to sort an array, binarySearch to search a sorted array, equals to compare arrays and fill to place items in an array.

• Class System’s arraycopy method (p. 285) enables you to copy the elements of one array into another.

Get Java™ How To Program (Early Objects), Tenth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.