nevermind i figured it out
Type: Posts; User: noel222
nevermind i figured it out
nevermind i figured it out
Can you recommend anything. I know how to make the string all lowercase. It is just that I don't know how to tell the program to accept the all lowercase answer as correct
nevermind i figured it out
Nevermind I figured it out
What is an SSCCE
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
I wrote the exact println statement you told me to do earlier.
System.out.println("TR=" + teamRoster);
No, I do not, I have a class named roster and names
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?
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
Yes, I just tried it and it the exact message that came up was tR= filename@4e82710e
Nothing is being printed out because I don't think I put the strings in the array properly
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...
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
Nevermind I figured it out
The error is
Exception in thread "main" java.lang.NullPointerException
I am not really sure what is wrong, and have been trying for a very long time to get this code working, but can't seem to.
Never mind, I figured out what I had to do
Hello Everyone,
I am having major problems with my code and I was wondering if someone could please help me out because I have been trying for a very long time to fix the problems, but really have...