Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 870 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 63bPyv
Related Questions
Core Java : What is the difference between declasspath and path?

What is the difference between declasspath and path?

Classpath is the path that Java looks for loading class at run time and compile time . The path is a....
Category: Core Java Date: 11/4/2010 5:10:51 AM
Core Java : Which non-Unicode letter characters may be used as the first character  of an identifier?

Which non-Unicode letter characters may be used as the first character of an identifier?

The non-Unicode letter characters $ and _ may appear as the first character of an identifier
Category: Core Java Date: 11/4/2010 3:20:54 AM
Core Java : Is null a keyword?

Is null a keyword?

The null value is not a keyword.
Category: Core Java Date: 11/4/2010 2:48:52 AM
Core Java : How can a constructor be call from another constructor ?

How can a constructor be call from another constructor ?

By using this() reference.
Category: Core Java Date: 11/4/2010 2:27:46 AM
Core Java : How is the difference between thread and process?

How is the difference between thread and process?

A process runs in its own address space. No two processes share their address space. Threads will ru....
Category: Core Java Date: 11/4/2010 1:43:50 AM