11 2021 档案
摘要:An ArrayList provides an alternative way of storing a list of objects and has the following advantages over an array: An ArrayList shrinks and grows a
阅读全文
摘要:先看段代码: InfoOfDay day = new InfoOfDay(); List<String> list =day.getIncidentList(); list = new ArrayList<>() ; list.add("hu"); List<String> list1 =day.g
阅读全文