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
Why unicode is important?
there are N number of matchboxes numbered 1...N.each matchbox contain various number of stick.Two player can alternatevely pick some amount of stick from the higest stick containing box . The player is condidered win if there is no stick after his move.Find the final move so that the move player win. Note:In case the number of stick is equal ,pick the stick from the higest numbered box.
What is the difference between declaration and definition in java?
What do you mean by garbage collection used in java?
Can we override the private methods?
How do you sort objects in java?
What is java dot?
How many types of interfaces are there?
What are the access modifiers available in java?
Why strings in java are called as immutable?
What is module in project?
What is the super void?
Can an interface be defined inside a class?
What are the two parts of a conditional statement?
Can we create an object of static class in java?