Method 3: Using Keys of Map in forEach loop. To get keys of the Map Set<String> keys = fruits.keySet();for(String key : keys) {
確定! 回上一頁