There was an error in this gadget

Tuesday, March 29, 2011

How to convert array to List in Java

String commentArray[]={"1","2","3"}

List commentList=Arrays.asList(commentArray);

No comments:

Post a Comment