| Author |
Hash Maps
|
Torvald Helmer
Greenhorn
Joined: Oct 26, 2005
Posts: 8
|
|
I get an error with this code. Does anyone know what the problem migth be? It is a syntax error: Syntax error, insert ";" to complete Statement The error is right after the first "Integer"
|
 |
Joanne Neal
Rancher
Joined: Aug 05, 2005
Posts: 3011
|
|
The syntax is Map <String, Integer> priorities = new HashMap<String, Integer>();
|
Joanne
|
 |
 |
|
|
subject: Hash Maps
|
|
|