Java Sleep sleep()

Here you can find the source of sleep()

Description

sleep

License

Open Source License

Declaration

public static void sleep() throws InterruptedException 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static void sleep() throws InterruptedException {
        Thread.sleep(1000);//w w  w. j  a  v  a  2 s  . c  o m
    }
}

Related

  1. sleep()
  2. sleep()
  3. sleep()
  4. sleep()
  5. sleep(double numSeconds)
  6. sleep(double seconds)
  7. sleep(double secs)
  8. sleep(final int millis)