Convert List to Array

# Introduction In this lab, we will learn how to convert a `List` to an array in Java. The `List` is a linear data structure that stores data, while the array is an indexed data structure that stores similar types of data. We will use the `toArray()` method of the `List` interface that returns an array of objects.

|
60 : 00

Click the virtual machine below to start practicing