List<String> list=new ArrayList<String>(20);为什么要声明为List 而不是ArrayList<String>?

NoSuchKey