java-date-time7

Run Settings
LanguageJava
Language Version
Run Command
import java.util.*; public class SleepDemo { public static void main(String args[]) { try { System.out.println(new Date( ) + "\n"); Thread.sleep(1000*3); // 休眠3秒 System.out.println(new Date( ) + "\n"); } catch (Exception e) { System.out.println("Got an exception!"); } } }
Editor Settings
Theme
Key bindings
Full width
Lines