The Artima Developer Community
Sponsored Link

Java Answers Forum
help for creating a linklist

2 replies on 1 page. Most recent reply: Oct 21, 2004 11:25 AM by Matt Gerrans

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
diaohui

Posts: 1
Nickname: bread
Registered: Oct, 2004

help for creating a linklist Posted: Oct 20, 2004 4:28 AM
Reply to this message Reply
Advertisement
hi guys, i'm a beginner here,i wanna know how to creat a linklist,would anyone help me ? thanks


Sundararaman.R

Posts: 6
Nickname: sundar78
Registered: Oct, 2004

Re: help for creating a linklist Posted: Oct 20, 2004 11:31 PM
Reply to this message Reply
import java.util.LinkedList;

and use it......


cheers

Matt Gerrans

Posts: 1153
Nickname: matt
Registered: Feb, 2002

Re: help for creating a linklist Posted: Oct 21, 2004 11:25 AM
Reply to this message Reply
Sundararaman,

You didn't answer the question. The answer is:
new java.util.LinkedList();
But seriously diaohui, do you want to use a linked list, or write one for a class assignment? (or perhaps have someone here write one for you?)

If you are writing your own linked list for a school assignment, then I think you can find the finished answer by searching these forums or google. However, you'll learn a lot more (and ace your next exam) by trying do it yourself and posting your code here with specific questions whenever you get stuck on one part or another.

We look forward to seeing your code and answering your questions...

Flat View: This topic has 2 replies on 1 page
Topic: JVM Memory issue Previous Topic   Next Topic Topic: Writing Custom taglibs

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use