I have to run multiple threads ||ly and after execution of all these thread main thread continue. For eg I have one main thread and 3 sub threads, my need is
run main thread
pause main thread
run all 3 sub threads ||ly
after complition resume main thread
I create a class extends Thread and call start method of all these thread but it doesn't solve my problem. 
My Code:
for (MyThread myThread : myThreads) {
    myThread.start();
}
Thanks for help.