aspose file tools*
The moose likes Servlets and the fly likes HashTable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "HashTable" Watch "HashTable" New topic
Author

HashTable

RajeshDuray
Greenhorn

Joined: May 25, 2006
Posts: 11
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

Joined: Nov 24, 2005
Posts: 14688
    
  16

This is the Servlet forum, please post servlet related questions.
About the output of your program, did you at least try to execute it ?


[My Blog]
All roads lead to JavaRanch
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HashTable