Multi Threading

© examsiri.com
Question : 24 of 44
 
Marks: +1, -0
Place the code elements into the class so that the code compiles and prints "Run. H dolt." in exactly that order. Note that there may be more than one correct solution .
public class TesTwo extends Thread{
 public static void main(String [] args) thows Exception{
  TesTwo t= new TesTwo();
  t.start();
  (1) Place Here
  (2) Place Here
  (3) Place Here
 }


Code Elements

1. t.start()
2. t.join()
3. t.pause(10)
4. run();
5. t.run();
6. t.doIt();
7. doIt();
Go to Question: