... continued

This lesson continues the discussion on instantiating threads.

We'll cover the following...

Ping Pong Program

We'll write a program that will print ping and pong in strict alternation on the console. Our program will consist of two threads, one to write each string. The challenge is to coordinate the two threads to take turns one after another when printing to the console.

We'll use a ...