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 2 of 2

Thread: I Need help with java.util.list, cant figure out how to use add(E e)

  1. #1
    Junior Member
    Join Date
    Jan 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Angry I Need help with java.util.list, cant figure out how to use add(E e)

    im working on code for my Comp Sci class and i can get java.util.add(E e) to compile:
    itsALCoins.java.util.add(Coin, c);
    i have no clue someone plz help I JUST WANT TO BE DONE WITH THIS AND PLAY VIDEO GAMES!!!!!


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    4,524
    My Mood
    Mellow
    Thanks
    156
    Thanked 615 Times in 602 Posts

    Default Re: I Need help with java.util.list, cant figure out how to use add(E e)

    If you haven't already been consumed by the video game monster, please post the code that won't compile with the error you're getting. For starters, the line you posted doesn't make a lot of sense, but maybe showing it in a larger context will help.

Similar Threads

  1. Replies: 4
    Last Post: April 16th, 2013, 06:50 AM
  2. Add an object to a linked list and a database
    By a21j92 in forum JDBC & Databases
    Replies: 0
    Last Post: March 2nd, 2013, 09:09 AM
  3. Please help me figure out how to work with a linked list in a JFrame. Agh!
    By BloomingNutria in forum What's Wrong With My Code?
    Replies: 4
    Last Post: May 12th, 2012, 12:53 PM
  4. can't figure whats wrong with my add method?? help!
    By b094mph in forum What's Wrong With My Code?
    Replies: 4
    Last Post: October 8th, 2011, 05:00 PM
  5. override list add method?
    By ober0330 in forum Collections and Generics
    Replies: 10
    Last Post: July 17th, 2011, 07:34 PM

Tags for this Thread