62,625
社区成员
发帖
与我相关
我的任务
分享
public class Test {
public static void main(String[] args) {
Map<String,Integer> hashtable = new LinkedHashMap<String,Integer>();
hashtable.put( "One", new Integer(1) );
hashtable.put( "Two", new Integer(2) );
hashtable.put( "Three", new Integer(3) );
hashtable.put("four", new Integer(4));
System.out.println(hashtable);
}
}