DEV Community

Discussion on: ArrayList In Java.

Collapse
 
vlasales profile image
Vlastimil Pospichal
List<Type> list = new ArrayList<>();
Collapse
 
tarunj096 profile image
Tarun Kumar J

Yes, we can instance ArrayList by List as well. 👍🏻