用 Map 来实现根据 name 查询某个 Student 的代码如下: ... HashMap; import java.util.Map; ... Map<String, Integer> map = new HashMap<>(); map.put("apple", ...
確定! 回上一頁