import java.util.LinkedHashMap;
public class LinkedHashMapPrint {
public static void main(String[] args) {
//creating LinkedHashMap
LinkedHashMap<Integer, String> lhm = new LinkedHashMap<>();
//adding element to our LinkedHashMap
lhm.put(21, "Amit");
lhm.put(5, "Rahul");
lhm.put(13, "Veeru");
lhm.put(34, "Subhash");
lhm.put(19, "Saahil");
System.out.println("Keys = " + lhm.keySet());
System.out.println("Values = " + lhm.values());
System.out.println("Key-value Pair Set = " + lhm.entrySet());
}
}