what are depricated methods in threads and explain the
lifecycle methods

Answer Posted / ravikiran

stop(),suspend(),resume()
start()---will start a new thread of execution nd thread
will be in runnable state
run()-----will run the current thread of execution

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between == and === javascript?

559


What is the difference between length and length() method in java?

634


Why char array is preferred over string for storing password?

575


What are the differences between heap and stack memory in java?

528


What is singleton service?

496






Is space a string in java?

506


In which language java is written?

527


Explain about assignment statement?

586


How do you print array in java?

545


Can substring create new object?

551


Can we declare register variable as global?

500


What is javac used for?

507


What are the different types of java?

547


What is a parent class in java?

536


Is a method a procedure?

541