HTML & JS
import java.util.*; 

public class WW {
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		LinkedHashMap<String, Integer> list=new LinkedHashMap<String, Integer>();
		list.put("Wendy", 70);
		list.put("Jeff", 68);
		list.put("Tony", 69);
		list.put("Pom",77);
		System.out.println(list); //{Wendy=70, Jeff=68, Tony=69, Pom=77}
	}
}

Generated URL:

Output:

{Wendy=70, Jeff=68, Tony=69, Pom=77}
Report Bug