0
can i use hashmap in setter?
hi ! i want to make a library by hash maps in java ! and i wonder if i can use the hashmap in setter or getter instead of the main ... can you help me ( ੭ु´ ・∀ ・`) ु im still new so i dont know many things aboit java ∩˙▿˙∩
1 Antwort
+ 2
I am not sure I fully understand your question but with HashMaps you can use their "built-in" modifier methods: get put remove.
And you overwrite an element when you use its index again.