What is a Hashtable in Java?
A Hashtable is a collection that stores key-value pairs where both keys and values are objects, and it does not allow duplicate keys.
Great! You nailed it, well explained.
Can you explain the difference between Hashtable and HashMap in terms of synchronization?