This is from the API for java.util.Arrays : This class contains various methods for manipulating arrays (such as sorting and searching). This class also contains a static factory that allows arrays to be viewed as lists. This chapter of Thinking in Java is what you need.
SCJP2. Please Indent your code using UBB Code
Joined: Dec 12, 2001
Thanks Jose. It helps but still I'm not clear why we needed two classes.
Joined: Jul 03, 2001
This is from java.lang.Array : The Array class provides static methods to dynamically create and access Java arrays. This class is not very used by the programmer. while java.util.Arrays provide useful algorithms to apply to array objects