Write a pingpong class that implements the runnable interface and will write ping or pong in a console window. have it print the word (ping or pong) at least 10 times before it terminates. write a program that creates and runs two threads using the pingpong class. one that prints ping, one that prints pong.



Answer :

Other Questions