How do I execute the Java code after a few minutes?
I want very simple code or function. How do I pause a line of code in Java?
How do I execute the Java code after a few minutes?
I want very simple code or function. How do I pause a line of code in Java?
Use Thread.sleep(long mills);
. This function takes a long
value in milliseconds (thousandths of a second) to pause
Hope this helps!