Java 8 | 18
Hello everyone
1° What is the functional difference between ArrayList and List? Or in other words, which one is better?
2° Why is a List declared using the ArrayList constructor: List myList = new ArrayList()? How is this possible if they are different Classes?
Thank you very much already