1. new MyThread().start();
private class MyThread extends Thread {
@Override public void run() {
Thread.sleep(1000);}}