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

What is Difference Between Include Directive and Include Action o ...

Why Java Provides Garbage Collector ?

How Will You Create a Shallow Copy of a Map in Java ?

What are the Uses of Reflection in Java ?

Why Collection Interface Doesn’t Extend Cloneable and Serializabl ...