+ 1
How to pause a java program for 1.5 sec?
Thread.sleep(1500); Does it correct way?
4 Respostas
+ 2
Yes.
+ 2
Can you give me a sample code of that?Jayakrishna🇮🇳
+ 2
You can find in this :
https://www.javatpoint.com/thread-sleep-in-java
+ 1
if you not open multiple threads then yes whole program it stop for 1500ms