Answer Posted / a.sreekanth
The join() method of a Thread instance can be used to "join" the start of a thread's execution to the end of another thread's execution so that a thread will not start running until another thread has ended. If join() is called on a Thread instance, the currently running thread will block until the Thread instance has finished executing.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to change the priority of thread or how to set the priority of thread?
Are arrays primitive data types?
Write a program to reverse array in place?
What is use of super keyword?
Why put method is used?
Why call by value prevents parameter value change?
Is assembly language a low level language?
How do you clear a method in java?
What are user defined exceptions?
What’s the difference between the methods sleep() and wait()?
What two classes are used to read data only?
Can we use string in switch case in java?
Can we compare two strings in java?
What are the differences between heap and stack memory?
What is empty string literal in java?