Page: 6
9. Multi-Threading
Q: 23 Click the Task button.
Solution:
1.synchronized
2.notifyAll( )
3.synchronized
4.wait( )
5.false
Q: 24 Click the Task button.
Solution:
t.join( );
t.run( );
t.doIt( );
Q: 25 Click the Exhibit button.
Which two are possible results? (Choose two.)

A. 0, 2, 4, 4, 6, 8, 10, 6,
B. 0, 2, 4, 6, 8, 10, 2, 4,
C. 0, 2, 4, 6, 8, 10, 12, 14,
D. 0, 0, 2, 2, 4, 4, 6, 6, 8, 8, 10, 10, 12, 12, 14, 14,
E. 0, 2, 4, 6, 8, 10, 12, 14, 0, 2, 4, 6, 8, 10, 12, 14,
Answer: A, C
Page: 6
1
2
3
4
5
6
7
8
9
10