i want to iterate through the has map in java. i am not able to get the keys from my code. it gives me random kind of keys that's not what i want. my keys are of class type.
i have tried many things but i don't know exactly how can i get the keys . i can get the keys when i have the keys of primitive or wrapper classes type but not when i am entering a key from user defined class.