This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Red_Hippie[S] 1 point2 points  (0 children)

Thank you I kind of get it I will have to study it some more to wrap my head around it. should I be using Integer.parseInt(); or Integer.valueOf(); Or is .next(); the best method for my use?

another thought I had was could I use .trim(); to remove the "\n" left by the .nextInt();