A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
Joined: Jan 23, 2006
Jan 29, 2006 22:34:00
How t add elements of any data type in Stacks,ArrayList,HashTable,HashMap,HashSet, etc of util package?
Thanks advance who ever answers this question.
Joined: Nov 24, 2005
Jan 29, 2006 22:47:00
You can put anything extending the Object class in Collections like ArrayList, Stack... Search the API to know which method to call.
All roads lead to JavaRanch
author and iconoclast
Joined: Jul 08, 2003
Jan 30, 2006 05:59:00
don't post the same question multiple times. If you get an answer you don't like, then provide followup information in the same thread.
is the first time you asked about this. I'm closing this later thread.
[Jess in Action]
I agree. Here's the link:
subject: Adding Elements
Are there Web-specific elements of the UML?
How to set focus on non editable field
pass the values from HTML to jsp page
Regarding order of elements in web.xml
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014