What is the Use of a Dictionary Class in Java ?

The Dictionary class in Java is used to store key-value pairs. Any non-null object can be used for key or value. But we cannot insert a null key or null object in Dictionary.

Dictionary class is deprecated now. So it should not be used in newer implementations.



You May Interest

Why Java Does Not Support Operator Overloading ?

What is a WeakHashMap in Java ?

When Do You Use Exception or Error in Java ?

Why Did Oracle Release a New Version of Java Like Java 8 ?

What are the Rules of Method Overloading and Method Overriding in ...