This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Umm, I think you might be misunderstanding what Collections are about. I can't think of any Java project I've ever written, however small, which hasn't used at least one of the collections classes somewhere. Hardly any of these projects used a database. Collections are a vital part of keeping track of your objects and information while a program is running, and they form the backbone of many of the most important "design patterns". Here's a challenge for you, to help get you thinking like a Java "pro". Think of a small java program, pretty much anything is OK, briefly describe here what it should do, and we will chip in about ways you could use Collections classes to help write it. Deal ?
Expandable arrays (Vector and ArrayList in Java) and associative arrays (Hashtable and HashMap in Java) are pretty fundamental data structures. Once I used a language that had them built-in (Perl), I never wanted to do without them again. [ August 20, 2002: Message edited by: Ron Newman ]
Ron Newman - SCJP 1.2 (100%, 7 August 2002)
Joined: Jun 06, 2002
Thanks Frank... OK I will do, but I'm wondring, do I need to show all the codes here? Thanks too, Ron.