Saturday, March 11, 2017

List vs ArrayList

http://stackoverflow.com/questions/9852831/polymorphism-why-use-list-list-new-arraylist-instead-of-arraylist-list-n

“Polymorphism: Why Use ‘List List = New ArrayList’ Instead of ‘ArrayList List = New ArrayList’?” Java - Polymorphism: Why Use "List List = New ArrayList" Instead of "ArrayList List = New ArrayList"? - Stack Overflow, stackoverflow.com/questions/9852831/polymorphism-why-use-list-list-new-arraylist-instead-of-arraylist-list-n. Accessed 11 Mar. 2017.

No comments:

Post a Comment