Search:

Type: Posts; User: noel222

Search: Search took 0.20 seconds.

  1. Replies
    30
    Views
    4,460

    Re: Strings not being added to arraylist

    Nevermind I figured it out
  2. Replies
    30
    Views
    4,460

    Re: Strings not being added to arraylist

    What is an SSCCE
  3. Replies
    30
    Views
    4,460

    Re: Strings not being added to arraylist

    sorry about that. I simply used the contain method to check and then deleted it once I saw the array did not contain the names and nicknames
  4. Replies
    30
    Views
    4,460

    Re: Strings not being added to arraylist

    I wrote the exact println statement you told me to do earlier.

    System.out.println("TR=" + teamRoster);
  5. Replies
    30
    Views
    4,460

    Re: Strings not being added to arraylist

    No, I do not, I have a class named roster and names
  6. Replies
    30
    Views
    4,460

    Re: Strings not being added to arraylist

    I posted my code in my first post. I am not really sure what you guys are asking me to post. That is all I have. I am not sure why the player names and nicknames are not in the array?
  7. Replies
    30
    Views
    4,460

    Re: Strings not being added to arraylist

    Even when I simply say to print out the contents of the array, I get values such as filename@343kgdf instead of the actual values. I am not sure how to get the values
  8. Replies
    30
    Views
    4,460

    Re: Strings not being added to arraylist

    Yes, I just tried it and it the exact message that came up was tR= filename@4e82710e
  9. Replies
    30
    Views
    4,460

    Re: Strings not being added to arraylist

    Nothing is being printed out because I don't think I put the strings in the array properly
  10. Replies
    30
    Views
    4,460

    Re: Strings not being added to arraylist

    Yes, I used the contain method to see if the array contained the players names and nicknames and it does not. It simply holds nothing. I put in 2 get methods to get the player names and nicknames...
  11. Replies
    30
    Views
    4,460

    Re: Strings not being added to arraylist

    I am using the contains method to see if the players and nicknames were added. They are not and I am not sure how to add them
  12. Replies
    30
    Views
    4,460

    Strings not being added to arraylist

    Nevermind I figured it out
Results 1 to 12 of 12