I know this question sounds somewhat rhetorical but I was curious if it was possible to use a string inside of an Integer scanner.
I am asking this because I was curious if, for example, a user enters numbers and types DONE when they have entered all of the numbers they wish. I know I could do it where I would have them enter eg. a number less than 0 (this could work for grades).
But how would you do this as I wish to do it inside of a while statement, and use it to terminate the statement.