This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Hello! I'm hoping someone can help me demystify why the values are returning null. I know this has to be rather obvious but I'm not seeing it. Any help is appreciated.
I believe the issue is occuring under the addContact() method when the values are being assigned. I'm using an ArrayList to send all the information to the constructor, but whatever I'm doing is either overrode or returning a null value.
good job fixing the constructor i didn't notice you were doing it backwards(wrong). someone else will have to help with the other problem. i don't know the Scanner class and as i implied i am kind of drunk.
Joined: Dec 08, 2011
All my variables were declared as static. That was causing the overriding I was seeing