what are depricated methods in threads and explain the
lifecycle methods
Answer Posted / ravichandra
In threads two ways to create threads.1.by extends the
class
2.implements runnable interface
in threads the following methods are called life cycle
methods
1.start 2.run 3.dead
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Why declare Main() method as a static in java ?
What is a function in programming?
Is set ordered in java?
How do you change an int to a string?
How do you use substring in java?
Can you sort a string in java?
Why is java not 100% pure oops?
Can we write any code after throw statement?
How does list work in java?
What are use cases?
How will you reverse a link list without using recursion?
Write a java program to print fibonacci series?
Can we inherit a class with private constructor?
What is integer parseint?
What does nextint () do in java?