Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
List<List<String>> list = new ArrayList<List<String>>(); List<List<?>> list2 = list; // compiletime error
我惊讶地发现这是不可能的。我预计这是可能的。
我在goole上没有找到这个问题的答案。