I'm having a question about using Hashmap
of Java. On that occasion, I have a class with the Hashmap custo
attribute.
In this class, I need to create a constructor and in this constructor, I need to request the insertion of 3 integers that will make up my cost (gold, wood and diamond).
My question is: how do I request these 3 data in order to fill them at my cost? And how do I display and use them later?