This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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