Yes, but it appears, and I traced the variables using my word find, that you are adding it and never setting the value of first or last name when you are calling add.
I see no,
lastName =...
Type: Posts; User: javapenguin
Yes, but it appears, and I traced the variables using my word find, that you are adding it and never setting the value of first or last name when you are calling add.
I see no,
lastName =...
I'm not sure why you have the ( ) around the "" in the String definitions. I've never seen that before now but oddly it compiles.
It would appear, and maybe I'm mistaken, I'm somehow having a...
What if the entry name simply isn't there?
What's going wrong?
Is it simply not compiling, is it throwing an ArrayIndexOutOfBoundsException, or is it working and compiling but somehow not...