Convert Array to ArrayList

# Introduction In Java, an array is used to store similar types of elements, while an `ArrayList` is an implementation class of the `List` interface used to store elements index-based. There may be instances when you need to convert an array to an `ArrayList` when working with collections of data. This lab will teach you how to convert an array to `ArrayList` in Java.

|60 : 00

Click the virtual machine below to start practicing