Tag: List

List toArray() Method

java.util.List.toArray() method can be used to convert a list to an array. Syntax of List toArray() Method Object[] java.util.List.toArray() The return type of this method is Object[]. Example.java The below… Read more »