If I need a string or an int from the user, how can I make sure that that is what they inputted?
The lame way of putting EVERYTHING in strings and then somehow check?
Or maybe throw-catch?
I tried the try-catch but had a few problems.
The examples I saw only had a try and a catch, no throw.
When I did it like that, it said that no exception was being thrown.
And how are you supposed to know what type of Exception it is?
If I want user input, I'm guessing it's IOException?
Or I saw something along the lines of "Mismatch"something..
So how can I check?
I guess I also need a while loop or do-while loop for every input, so that it will ask the user again if they input something they're not supposed to......