Join
Blogs
Questions
Videos
Tags
Members
Search
 
 
Create your own blog, earn points and get popular!

hash map declaration

HashMap input,output = new HashMap(); is this declaration correct?
No votes yet
Share this
1 answer
City hunter's picture
Map<key,value> map = new HashMap<key,value>

key may be type String or int
value may be anything
No votes yet