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

How Strategy Design Pattern is Different From State Design Patter ...

How Can We Reference an Unreferenced Object Again in Java ?

What is the Purpose of Properties File in Java ?

What is the Difference Between a Class and an Object in Java ?

What is the Difference Between a Set and a Map in Java ?