|
Arraylist to a 2- dimension array conversion
I have an arraylist which needs to be converted to a two dimenional array.
Eg:
Arraylist contains:
------------------
abc
def
ghi
jkl
Resultant Array should contain elements in the below fashion:
-----------------------
(abc,def)
(ghi,jkl)
Thanks in advance.
|