I think the oracle site is rather complex to navigate, but
here and
here are good places to start... what you really want to be able to find is something like
this... what I have found to be the most efficient way at finding documentation like the last link is to type the class you want, the word class, and then java, then look for the link that starts with docs.oracle... example- I found that one by typing (in google) "java string class"... Learning to read the class documentation is key
for the task at hand I would make a while loop that evaluates the input (if you want to validate)... other than that you can just make a
java timer (
example) and start it right before you ask and stop right after they respond