Вы находитесь на странице: 1из 1

Arrays class in Java

The Arrays class in java.util package is a part of the Java Collection Framework.
This class provides static methods to dynamically create and access Java arrays. It
consists of only static methods and the methods of Object class. The methods of this
class can be used by the class name itself.
Facilities provided by the Java-Arrays Class:
There are often times when we need to do following tasks on an array in Java.

 Fill an array with a particular value. We usually do it with the help of a for loop.
 Sort an array.
 Binary search in sorted array.
 And many more.

Вам также может понравиться