Hi Sudarsan ,
Usage of <T> is custamisable for any object , not restricted object of any type.
example you will iterate over array a which have object of type T and adds in collection c .
ex1 : array a can have values of type
String --> collection should be created to have String .
ex2 : array a can have values of type Perosn --> collection will have all persons from array a after calling fromArrayToCollection(...)
Hope it helps .