Win a copy of Kotlin in Action this week in the Kotlin forum!
    Bookmark Topic Watch Topic
  • New Topic

Retrieve the results from the Hashtable by looping  RSS feed

 
Santhini Nesaraj
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Report post to moderator
I need to create a hashtable and put the values for eg.(empname,dateofappointment,empid,empsalary) in it. And retrieve the values using for loop. How can I do it? Can someone give me the solution for this? Please ,I am a dummy in Java.
 
Nigel Browne
Ranch Hand
Posts: 704
  • Mark post as helpful
  • send pies
  • Report post to moderator
Here's a link to the Collections chapter of the java tutorial. Come back with more questions when you have at least read this and tried to implement your own solution
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Crossposted here, where discussion is already in progress.
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!