Answer the question
In order to leave comments, you need to log in
How to pass any type of data to HashMap?
Hello, I'm interested in how you can transfer any type of data to HashMap, for example
HashMap m = new HashMap<Sring, ?>();
m.put("one", 1);
m.put("two", "2");
m.put("new", 2.3);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question