class MyThread extends Thread {
public void run() {
System.out.print("Running ");
}
public void start() {
System.out.print("Starting ");
}
}
public class Q202 {
public static void main(String[] args) {
MyThread t = new MyThread();
t.start();
}
}
Login in to like
Login in to comment