I’m trying to make something in java and I don’t know how to delay it.
you can use Thread.sleep().
Thread.sleep()
Thread.sleep(1000) //pauses for 1 second
Is there anyway to delay code in java on here?
I’m trying to make something in java and I don’t know how to delay it.
you can use
Thread.sleep()
.