Multi Threading

© examsiri.com
Question : 11 of 44
 
Marks: +1, -0
Given:
1. Runnable r = new Runnable() {
2.   public void run() {
3.    System.out.print("Cat");
4.   }
5. };
6. Thread t = new Thread(r) {
7.   public void run() {
8.    System.out.print("Dog");
9.   }
10. };
11. t.start();

What is the result?
Go to Question: