adspace


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

How to sort array in descending order in java?

999


Write a program to print count of empty strings in java 8?

1090


How to create a base64 decoder in java8?

1143


Differentiate between static and non-static methods in java.

1131


Write a program to find the whether a number is an Armstrong number or not?

1104


What do you mean by an interface in java?

1105


What is the difference between equals() and == in java?

1045


What is an object in java and how is it created?

1145


Is minecraft 1.15 out?

1048


What is a classloader in java?

1092


Explain public static void main(string args[]) in java.

1081


What is a constructor overloading in java?

1129


What is parsing in java?

1046


Realized?

2268


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

1149