Multi Threading

© examsiri.com
Question : 31 of 44
 
Marks: +1, -0
Given the following,
1. class MyThread extends Thread {
2.   public static void main(String [] args) {
3.    MyThread t = new MyThread();
4.    t.start();
5.    System.out.print("one. ");
6.    t.start();
7.    System.out.print("two. ");
8.   }
9.   public void run() {
10.    System.out.print("Thread ");
11.   } }

What is the result of this code?
Go to Question: