0

For example I have hashMap which type is <String,Integer> I call getKey from iterator, wanted to get String directly from the result. But I found out that I have to call toString() to get a string type. Why is that?

Thanks.

BufBills
  • 8,005
  • 12
  • 48
  • 90

0 Answers0