File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ArrayList Problem

 
Chris G Johnson
Greenhorn
Posts: 23
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic