This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Java in General and the fly likes ArrayList Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "ArrayList Problem" Watch "ArrayList Problem" New topic
Author

ArrayList Problem

Chris G Johnson
Greenhorn

Joined: Nov 20, 2004
Posts: 23
Hi,

I am creating a program that makes a list of products that are used to create orders which are added to an orders queue. The thing is I don't know the first thing about arraylists and just can't understand what I need to do. This is my code so far:-



So far all I have is a list of methods that I don't know how to use. How do I store food items in an order if each arraylist can only hold one object.
I am so confused and am considering throwing the towel in.

Thanks in advnaced to anyone who can help!!
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: ArrayList Problem
 
It's not a secret anymore!