#How to print out something and accept user input when inactive for 10 seconds

7 messages · Page 1 of 1 (latest)

rigid owlBOT
#

Hey, @polar citrus!
Please remember to /close this post once your question has been answered!

verbal lichen
#

Use you use a scanner

#

Yes*

#

Scanner scanner = new Scanner(System.in)

#

then the input is taken using scanner.next()

verbal lichen
#

change if to while