Multi Threading
© examsiri.com
Question : 30 of 44
Marks:
+1,
-0
The following block of code creates a Thread using a Runnable target:
Which of the following classes can be used to create the target, so that the preceding code compiles correctly?
Runnable target = new MyRunnable();
Thread myThread = new Thread(target);Which of the following classes can be used to create the target, so that the preceding code compiles correctly?
Go to Question: