Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 842 Page Views: 

What method must be implemented by all threads?



Posted By: Avi Date: 7 November 2010 12:46:50 PM
 Answer:

All tasks must implement the run() method, whether they are a subclass of Thread or implement the Runnable interface.


Posted By: avibtech


Date: 7 November 2010 12:46:50 PM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image Dku1LA
Related Questions
Core Java : What are the wait(), notify(), and notifyAll() methods in Thread class?

What are the wait(), notify(), and notifyAll() methods in Thread class?

The wait(),notify(), and notifyAll() methods are used to provide an efficient way for threads to wai....
Category: Core Java Date: 11/5/2010 9:53:50 PM
Core Java : What are the legal operands of the instanceof operator?

What are the legal operands of the instanceof operator?

The left operand is an object reference or null value and the right operand is a class, interface, o....
Category: Core Java Date: 11/5/2010 9:41:54 PM
Core Java : Can a double value be cast to a byte?

Can a double value be cast to a byte?

Yes.
Category: Core Java Date: 11/5/2010 9:20:48 PM
Core Java : What is the List interface?

What is the List interface?

The List interface provides support for ordered collections of objects.
Category: Core Java Date: 11/5/2010 8:36:52 PM
Core Java : What is constructor chaining ?

What is constructor chaining ?

When a constructor of a class is called, it will automatically call the default constructor of the s....
Category: Core Java Date: 11/5/2010 8:15:46 PM