what is the replacement method of stop() of thread
Answer Posted / domnic
the answer is join();
join makes your program wait till the thread upon which it
is called dies.This functionality is same as what done by
the deprecated method stop();
| Is This Answer Correct ? | 2 Yes | 5 No |
Post New Answer View All Answers
How define set in java?
How many types of java are there?
when you will synchronize a piece of your code? : Java thread
What is a pattern what is an anti pattern?
Which package has light weight components in java programming?
What are the two ways in which thread can be created?
Explain about arraylist?
Is void a keyword in java?
What are the advantages and disadvantages of object cloning?
What are decalarations?
What is a string token?
When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?
Write a java program to generate fibonacci series ?
What is sorting in java?
What is an inner class in java?