aspose file tools*
The moose likes Beginning Java and the fly likes Hash Maps Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Hash Maps" Watch "Hash Maps" New topic
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: 3446
    
  12
The syntax is
Map <String, Integer> priorities = new HashMap<String, Integer>();


Joanne
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hash Maps