Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: Linked Lists Java Programming HELPP P.S. I am a beginner in Java Programming

  1. #1
    Junior Member
    Join Date
    Apr 2013
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Linked Lists Java Programming HELPP P.S. I am a beginner in Java Programming

    How do I create an application that uses a linked list. You must be able to do at least the following to the linked list:

    check whether the list is empty
    display the list
    find the length of the list
    destroy the list
    retrieve the data in the nth node
    search the list for a given item
    insert an item in the list
    delete an item from the list

    class Node {
    Data data;
    Node next;
    }
    Thanks


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Linked Lists Java Programming HELPP P.S. I am a beginner in Java Programming

    What have you tried?
    create an application that uses a linked list
    Is the task to write a linked list class
    or to use an existing linked list class. See the API doc: http://docs.oracle.com/javase/7/docs/api/

    Please when posting code wrap your code with code tags:
    [code=java]
    <YOUR CODE HERE>
    [/code]
    to get highlighting and preserve formatting.
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: Linked Lists Java Programming HELPP P.S. I am a beginner in Java Programming


  4. #4
    Junior Member
    Join Date
    Apr 2013
    Posts
    17
    My Mood
    Happy
    Thanks
    0
    Thanked 9 Times in 9 Posts

    Default Re: Linked Lists Java Programming HELPP P.S. I am a beginner in Java Programming

    You need to study JAVA COLLECTION FRAMEWORK. Look at the link. It has all the materials you need to understand. It might be hard to understand for you at the beginning but you will have enough idea how to do your program.
    The Collection Framework - Java Programming Tutorial
    Hope this helps

  5. The Following User Says Thank You to myjava For This Useful Post:

    ThePrince (April 20th, 2013)

Similar Threads

  1. Java Programming for beginner HELP needed ...
    By Vinayaka Sp in forum What's Wrong With My Code?
    Replies: 1
    Last Post: March 29th, 2013, 09:26 AM
  2. Replies: 1
    Last Post: January 6th, 2013, 06:32 AM
  3. android programming vs game programming using java
    By vgoel38 in forum Android Development
    Replies: 4
    Last Post: September 8th, 2012, 05:48 PM
  4. iterators & linked lists in java question
    By somewhat_confused in forum What's Wrong With My Code?
    Replies: 1
    Last Post: June 4th, 2010, 10:59 AM
  5. Object Oriented Programming request please helpp...
    By dini-x in forum Object Oriented Programming
    Replies: 3
    Last Post: April 1st, 2010, 12:57 AM