List is just an interface. So you can not instantiate a List . You have to use classes that implements List interface .
Read moreList is just an interface. So you can not instantiate a List . You have to use classes that implements List interface .
Read more