What is the there only one method declared in Runnable interface?
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Interview Questions and Answers

 Q1. What is the there only one method declared in Runnable interface? Core Java
Ans. The Runnable interface describes a class whose instances can be run as a thread. The interface itself is very simple, describing only one method ( run ) that is called automatically by Java when the thread is started. The Runnable interface is usually used in conjunction with the Thread class.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     


Related Questions

  Why do we need Thread class even in case we execute thread using runnable interface ?
  What is the use of runnable interface if we can always create a new thread using Thread class ?
  Is runnable a Marker interface ?
 Why do we use Thread Class as well as Runnable Interface for creating threads in Java ?
 How executor service is better than using primitive Threading mechanism using Thread class or runnable Interface ?



Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: