public static void (String[] args) {
Thread thd02 = new Thread(new Runnable() {
public void run() {
System.out.println("the Thread " + Thread.currentThread().getName() + " is executing.");
}
});
thd02.setName("thd02");
thd02.start();
System.out.println("the Thread " + Thread.currentThread().getName() + " is executing.");
}
近期评论