simply call join() methodMing wrote:I want to write a program whose main method sets off three threadsand then waits until the threads have passed back at least threevalues (inputstreams in this case).How do you make the main method wait?