Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to return arraylist as array in java

  Integer[] arr = new Integer[al.size()];//al is arraylist
        arr = al.toArray(arr);
 
PREVIOUS NEXT
Tagged: #return #arraylist #array #java
ADD COMMENT
Topic
Name
3+7 =