Answer the question
In order to leave comments, you need to log in
Is there a specific timeout for console input?
The point is the following. You need to ask the user for data from the console. Data must be entered within 10 seconds. That is, if the user does not enter data within 10 seconds, the program continues on. How can this be done using threads?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question