Java
import java.util.*;
public class HelloMom {
public static void main(String[] args) {
Hashtable<String, String> ht = new Hashtable<String, String>();
ht.put("Answer", "42");
ht.put("Hello", "World"); // First value association for "Hello" key.
ht.put("Hello", "Mom"); // Second value association for "Hello" key.
for (Map.Entry<String, String> e : ht.entrySet()) {
System.out.println(e);
}
}
}
Output
Answer=42
Hello=Mom
There is a pesky = in there, but this is the best I could do
http://stackoverflow.com/a/1050075/573421https://stackoverflow.com/a/1050075/573421