Next page | Contents page |

Exercise 18 - thread demo's

Compile and run the two programs ThreadDemo1.java and ThreadDemo2.java (cut and paste from the previous page), to observe the threads running and make sure you understand what is happening.

Next page | Contents page |