如何使用一个线程
创建线程,调用start()方法

public static void main(String args[]){
    new Thread(()->{
        System.out.print(Thread.currentThread());
        System.out.println("hello world");
    }).start();
}