So, we'll create a map with fruits as keys and their prices as the values: Map<String, Double> priceMap = new HashMap<>(); priceMap.put("apple", ...
確定! 回上一頁