linked list

java linked list

Page 1 of 1

2 Replies - 2953 Views - Last Post: 03 February 2010 - 10:02 AM Rate Topic: -----

#1 shogun23   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 35
  • Joined: 29-January 10

linked list

Posted 03 February 2010 - 02:38 AM

how to assign a 10 variables or more in a linked list?
Is This A Good Question/Topic? 0
  • +

Replies To: linked list

#2 dorknexus   User is offline

  • or something bad...real bad.
  • member icon

Reputation: 1272
  • View blog
  • Posts: 4,625
  • Joined: 02-May 04

Re: linked list

Posted 03 February 2010 - 02:46 AM

Step 1: Make a linked list data structure
Step 2: Make sure your linked list data structure has an "add" function
Step 3: Call the "add" function ten times with each variable you want to add.
Was This Post Helpful? 0
  • +
  • -

#3 macosxnerd101   User is offline

  • Games, Graphs, and Auctions
  • member icon




Reputation: 12657
  • View blog
  • Posts: 45,831
  • Joined: 27-December 08

Re: linked list

Posted 03 February 2010 - 10:02 AM

Java comes with a LinkedList. You might want to check it out.

Link: http://java.sun.com/...LinkedList.html
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1