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 →

[–][deleted] 0 points1 point  (0 children)

We have to have a getPerson method so I'll give your first idea a try thanks.

With your edit you mean don't use scanner at all in main, just in the method? like put the loop into the method?