Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HashTable

 
RajeshDuray
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I need the output for the following program
/* particularly the value of a */
psvmain()
{
HashTable hm=new HashTable();
hm.put("1","one");
hm.put("2","two");
Enumeration enu=hm.elements();
String a[];
while(enu.hasMoreElement()
{
a=(String[])enu.nextElement());
}
}
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is the Servlet forum, please post servlet related questions.
About the output of your program, did you at least try to execute it ?
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Despite several requests you still have not updated your display name. I'm going to ask for your account to be closed.

When you re-register, please try to post your questions in the correct forum.

thanks,
Dave.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic