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


Please Help Members By Posting Answers For Below Questions

Can bool be null?

505


What is the meaning of immutable regarding string?

503


what is enumset?

566


What is the purpose of static methods and variables?

518


What is the purpose of garbage collection in java?

640






What language is java written?

517


Explain covariant method overriding in java.

529


How do you insert a line break?

479


What is a char in java?

521


How do you achieve singleton?

510


What is the difference between class & structure?

551


What is meant by binding in rmi?

529


What is a parameter in simple terms?

545


Can you instantiate the math class?

588


Can we have two main methods in a java class?

528