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
What is the difference between stringbuffer and stringbuilder?
What is boolean law?
How do you identify independent and dependent variables?
Is java a software?
How many types of flags are there?
Can we execute java program without main method?
difference between byte stream class and character stream class?
How is abstraction implemented in java ?
What are the restrictions imposed by a Security Manager on Applets?.
What is a Hash Table? What are the advantages of using a hash table?
Is it possible to write a regular expression to check if string is a number?
What is meant by bytecode?
What is the difference between the boolean & operator and the && operator in java programming?
Can an unreferenced object be referenced again?
Is string thread safe in java?