Hashtable

    技术2022-11-27  32

    package ZHANG.API;import java.util.Hashtable;

    public class HashTable {

     public static void main(String[] args) { Hashtable num = new Hashtable(); num.put("yi",new Integer(1)); num.put("er", new Integer(2)); num.put("san", new Integer(3)); Integer n = (Integer) num.get("er"); System.out.println("er ="+n); System.currentTimeMillis(); }

    }

    最新回复(0)