1) Create a HashMap and populate it with key-value pairs. 2) Get the Set of key-value pairs by calling entrySet() method. 3) Obtain the iterator for entry set.
確定! 回上一頁