Apache – Constant map of constant values

Constant map of constant values

If you want constant instance variable of type Map with some constant values populated in it, then you can use below way.

Output:

 

Leave a Reply

Your email address will not be published.