Tag: java addall

Adding Array to Collections addAll()

August 27, 2011 · 1 min read
Generally, in realtime, the names of the share holders etc, the programmer stores in the form an [array](http://way2java.com/arrays/arrays-introduction-properties/). This array can be converted into a data structure with **addAll()** method of [Collections class](http://way2java.com/collections/collections-api-methods/). **addAll()** method can also be used with a single element also.