Tag: java class array

Java Arrays class

May 4, 2013 · 1 min read
###### Java Arrays class: Here comes a confusion for a new Java learner with **array**, **array**s and **Arrays**. He uses all interchangeably, meaning the same. He uses anyone just to refer arrays of Java. He thinks array and arrays are singular and plural. Of course, he is right. Problem comes once he knows there is a class in Java called **Arrays**. If you say arrays, I mean you are talking general arrays and if you say Arrays, I mean your are referring [class Arrays](http://way2java.com/collections/class-arrays-api-methods/) (from java.util package).

Java Shuffle Array shuffle()

September 21, 2011 · 3 min read
Java [collections framework](http://way2java.com/collections/java-collections-framework/) comes with two classes [Collections](http://way2java.com/collections/collections-api-methods/) and [Arrays](http://way2java.com/collections/class-arrays-api-methods/) (from java.util) to operate on the elements of collection classes (data structures) and arrays. To shuffle the elements of a data structure, the Collections class includes a method **shuffle()** but [Arrays class](http://way2java.com/collections/class-arrays-api-methods/) does not come with one.