what is the replacement method of stop() of thread

Answer Posted / mahesh

their is no replacement for stop(),
but their is a alternative approach is their by using
semaphore boolean conditions.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we override tostring method in java?

588


Explain the difference between abstraction and encapsulation.

626


What happens if we override only equals?

657


What is type conversion in java?

664


What is a nested class?

687






Can arraylist contain null values?

653


What is complexity and its types?

626


Is logger a singleton?

608


Why hashset is used in java?

617


How do you replace all in word?

612


What is a singleton puppy?

625


How to add menushortcut to menu item?

648


Can we overload the constructors?

662


What does a za z0 9 mean?

641


If an object reference is set to null, will the garbage collector immediately free the memory held by that object?

744