关于下列程序的功能,说法正确的是()Public class ko10_1 extends Thread {
Int n;
Ko10_1() {
Thread td=new Thread(this);
Td.start(); }
Public void run() {
For (n=0;n<6;n++) {
Try { System.out.print(n);
Thread.sleep(500); }
catch(InterruptedException e) {
System.out.println(“Exception”); } } }
public static void main(String args[]) {
new ko10_1();
} }