Array to List Java

Here we use asList() method of class Arrays. Following is the method signature static List asList(T array): The method returns a List object with all the elements of the array. The list returned is fixed size. That is, you cannot add further elements to the list. Following example on "Array to List Java" with asList() …

Array to List Java Read More »