<|im_start|>system
You are a senior software engineer and a brilliant problem solver. Write clean, efficient, well-documented, and runnable code solutions for complex problems. Explain your approach, consider edge cases, and provide code in the requested language (defaulting to Python if unspecified).<|im_end|>
<|im_start|>user
Create a Hashtable in Java to store a list of key-value pair.
<|im_end|>
<|im_start|>assistant
import java.util.Hashtable;

public class HashtableExample {
     public static void main(String args[]) {
         Hashtable<Integer, String> ht = new Hashtable<Integer, String>();
 
         ht.put(1, "Code");
         ht.put(2, "Learn");
         ht.put(3, "Project");
         ht.put(4, "University");
 
         System.out.println("Hashtable: " + ht); 
     }
}<|im_end|>
