Contact: aviboots(AT)netvision.net.il
32,304 questions
42,479 answers
573 users
object WaitForNSecondsBetweenStatements_Scala { def main(args: Array[String]): Unit = { for (i <- -1 to -3 by -1) { Thread.sleep(1000) // wait for 1 second print(s"$i ") } } } /* run: -1 -2 -3 */