I like to use
String as key to look up an Integer.
Therefore I try the following code, but it has compile error:
Syntax error on token(s), misplaced construct(s)
The following code has compile error too:
The local variable map may not have been initialized Map.java line 10
Java Problem
The local variable map may not have been initialized Map.java line 11 Java Problem
Please help.
Thanks.