Kod:
import java.util.Collection;
import java.util.Set;
import java.util.HashMap;
import java.util.Iterator;



public class TEST1{

    public void s(String a,String b){



    }

  private static HashMap hm=new HashMap();
    public static void main(String args[]){
TEST1 t=new TEST1();
String a="ANTALYA";
     hm.put("07", a);
     hm.put("34", "İSTANBUL");
     hm.put("42", "KONYA");
     hm.put("06", "ANKARA");
     hm.put("48", "MUĞLA");
     hm.put("58", "SİVAS");

     t.s("a","b");
     String s2=hm.get("07").toString();
System.out.println("--"+s2);
    Set s=hm.keySet();
    Iterator plakakod=s.iterator();
    while(plakakod.hasNext()){

          System.out.println(plakakod.next());
         }
    Collection c=hm.values();
    Iterator sehır=c.iterator();
    while(sehır.hasNext()){

          System.out.println(sehır.next());

      }

 }
}