In java thread programming, which method is a must implementation for all threads?



In java thread programming, which method is a must implementation for all threads?..

Answer / Ankur Bhardwaj

The run() method must be implemented for all threads. This method contains the code that will be executed when the thread starts running.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Java Related AllOther Interview Questions

1.can i use super keyword in normal class(not inheritance) to call any method?if so how can i call particular variable? 2.In the inheritance how can i access the particular variable from the base class(it containing 5 variables) using super keyword?

1 Answers  


why the sleep method does not leave the lock and wait method leave the lock

4 Answers  


How does java handle integer overflows and underflows?

0 Answers  


Explain the inheritance principle.

1 Answers  


Why are lambda functions called lambda?

1 Answers  


What is native class in java?

1 Answers  


What is orm in java?

1 Answers  


What is jsr in java?

1 Answers  


What is java lang noclassdeffounderror?

1 Answers  


What are microservices in java?

1 Answers  


What is the difference between swing and awt components?

1 Answers  


what is jdbc?

6 Answers   Cap Gemini,


Categories