What is stop(), suspend(), resume() method?

Answer Posted / ravikiran

stop(),suspend() resume() methods are deprecated used for
inter thread communication
stop will stop the exceution of thread
suspend will temporarily suspends the thread execution
resume will invoke the suspended threads for execution

Is This Answer Correct ?    46 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is parsing in java?

530


What is the maximum size of a string in java?

551


How do you use compareto?

549


What does system out println () do?

559


what is heap memory?

657






Difference between character constant and string constant in java ?

558


What does \ mean in regex?

623


How can u increase the heap size in the memory?

552


What is the difference between delete and delete[]

581


Hi Anyone know the model / questions of the Federal bank sample questions for the post of Specialist Officers - Programmers. Please post if anyone have..

1822


What data structures are used to perform recursion?

606


How do you print array in java?

554


What is a method vs function?

558


What is the most important feature of java? What is an interface?

519


How can you avoid serialization in child class if the base class is implementing the serializable interface?

639